
/* Personal Page Section Headers */
#personal-page h2{
    text-align: center
}

#introduction-header {
    color: blue;
}

#hobbies-header {
    color: plum;
}

#education-header {
    color: red;
}


/* Styling for Education Section */
.high-school {
    font-style: italic;
}

.college-degree {
    font-weight: bold; 
}

.IT-certificate {
    text-decoration: underline;
}


/* Hyperlink hover effects (only for personal.html) */
body#personal-page a:hover {
    font-size: 150%;
}

body#personal-page a {
    transition: font-size 0.3s ease;
}

/* Disable hover effect for footer links */
body#personal-page footer a:hover {
    font-size: 100%;
}



/* Class Schedule Table Styling */
table.class-schedule {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

tr.class-schedule-header {
    background-color: navy; 
    color: lightblue;
    padding: 10px;
}


/* Stripe every other row */
tr.class-schedule-row:nth-child(even) {
    background-color: lightgray;
}

tr.class-schedule-row:nth-child(odd) {
    background-color: white;
}


/* Holiday and Special Events List */
ol.holiday-list {
    list-style-type: decimal; /* Primary level uses Arabic numbers */
}

ol.holiday-list ol {
    list-style-type: upper-alpha; /* Secondary level uses uppercase letters */
}



/* Custom Radio Buttons for Majors */
input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: grey;
    border: 2px solid black;
    cursor: pointer;
    display: inline-block;
}

input[type="radio"]:checked {
    background: green;
}


/* Custom Checkboxes for Programming Language Experience */
input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    background: grey;
    border: 2px solid black;
    cursor: pointer;
    display: inline-block;
}

input[type="checkbox"]:checked {
    background: blue;
}


/* ePortfolio Page Styling, I wanted everything to be in the center of the screen */
body#eportfolio-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    margin: 0;
}

.link-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.link-images a img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.link-images a img:hover {
    transform: scale(1.1);
}


/* Payment Processing Page Styles */
#payment-page h2 {
    text-align: left;
}

#shipping-header { color: darkblue; }
#billing-header { color: darkred; }
#payment-header { color: darkgreen; }

/* Custom Checkbox for "Same as Shipping" */
input[type="checkbox"].same-as-shipping {
    appearance: none;
    width: 18px;
    height: 18px;
    background: grey;
    border: 2px solid black;
    cursor: pointer;
    display: inline-block;
    border-radius: 4px;
}

input[type="checkbox"].same-as-shipping:checked {
    background: blue;
}

/* CVV Code Tooltip */
.cvv-container {
    position: relative;
    display: inline-block;
}

.cvv-tooltip {
    visibility: hidden;
    background-color: black;
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.cvv-container:hover .cvv-tooltip {
    visibility: visible;
    opacity: 1;
}

.cvv-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    cursor: pointer;
}



/* General Container Styling for Grade System Pages */
body:not(#personal-page):not(#eportfolio-page):not(#payment-page) {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  padding: 20px 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
}

h1, h2, h3 {
  color: #2c3e50;
}

/* Grade Form & Filter Styling */
form label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

form input,
form select,
form button {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

form button {
  background-color: #0d47a1;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #1565c0;
}

/* GPA and Grade Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
}

table th, table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: #ecf0f1;
}

ul {
  padding-left: 20px;
}

ul li {
  margin: 5px 0;
  font-size: 16px;
}

/* GPA Highlight Colors */
h3 span {
  font-weight: bold;
}

h3 span.good-gpa {
  color: green;
}

h3 span.low-gpa {
  color: red;
}

/* Link styling for navigation */
a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* Login/Register Layout Styles */
#grade-system .login-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  min-height: 100vh;
  align-items: center;
  background: linear-gradient(to right, #e0f7fa, #e3f2fd);
}

#grade-system .login-container,
#grade-system .register-container {
  background-color: white;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 320px;
}

#grade-system h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

#grade-system form label {
  margin-top: 10px;
}

#grade-system form input {
  margin-bottom: 15px;
}
