body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    padding: 0;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
}

h2 {
    color: #333;
}

/* Personal Web Page */
h2:nth-of-type(1) { color: blue; }
h2:nth-of-type(2) { color: green; }
h2:nth-of-type(3) { color: red; }

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
}

li.degree { font-weight: bold; }
li.diploma { font-style: italic; }
li.certificate { text-decoration: underline; }

a:hover {
    font-size: 150%;
}

/* Class Schedule Page */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th {
    background-color: navy;
    color: white;
    text-align: center;
}

td {
    text-align: center;
}

tr:nth-child(even) {
    background-color: #ddd;
}

ol {
    list-style-type: decimal;
}

ol ol {
    list-style-type: upper-alpha;
}

/* Create Account Page */
input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid grey;
    background-color: grey;
    cursor: pointer;
}

input[type="radio"]:checked {
    background-color: green;
    border-color: darkgreen;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid grey;
    background-color: grey;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: blue;
    border-color: darkblue;
}

/* Additional Styling for Forms */
form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="date"] {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"], input[type="reset"] {
    background-color: navy;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

input[type="submit"]:hover, input[type="reset"]:hover {
    background-color: darkblue;
}

/* Payment Processing Page */
#shipping-info h2 { color: purple; }
#billing-info h2 { color: darkorange; }
#payment-method h2 { color: darkred; }

/* Custom checkbox for "Same as Shipping" */
#same-as-shipping {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid grey;
    background-color: grey;
    cursor: pointer;
}

#same-as-shipping:checked {
    background-color: blue;
    border-color: darkblue;
}

/* CVV Tooltip Styling */
.cvv-container {
    position: relative;
    display: inline-block;
}

.cvv-tooltip {
    visibility: hidden;
    background-color: black;
    color: #fff;
    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 {
    font-size: 16px;
    cursor: pointer;
    margin-left: 5px;
    color: navy;
}