/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f7f9;
}

header {
    background-color: #034f84;
    padding: 25px; /* Reduce padding to make header smaller */
    height: 100px;
    color: white;
    text-align: center;
}


header img {
    width: 250px; /* Set a width that works best for your design */
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Apply blur to everything except the loading spinner */
.blur-background {
    filter: blur(5px);
    pointer-events: none; /* Prevents interaction with blurred content */
    user-select: none; /* Prevents text selection */
}

/* Loading spinner container */
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); /* Slight transparency to keep focus */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000; /* Ensures it's above everything else */
}

/* Loader animation */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Ensure loading spinner is visible and not blurred */
.loading-container, .loader {
    filter: none !important; /* Overrides any blur effect */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 50%;
}

h1 {
    color: #2a3f54;
    margin-bottom: 20px;
    line-height: 1.2;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Form Styles */
#registrationForm {
    width: 90%;
    display: flex;
    flex-direction: column;
}

input, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}
/* Adjust Dropdown (Select) Width for Login Form */
#registrationForm select {
    width: 107%;          /* Decrease the width of the dropdown box */
    padding: 10px;       /* Adjust padding for better spacing */
    margin: 10px 0;      /* Space between the dropdown and other elements */
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

label {
    margin: 10px 0;
    font-weight: 500;
}
/* Adjust spacing between the text in the certificate validation label */
.status-message {
    line-height: 1.5;   /* Increases the line height to add vertical space between lines */
    margin-bottom: 10px; /* Adds space below the label */
    padding-top: 5px;    /* Adds space above the label */
}

/* Adjust Input Fields' Width and Placement for Login Form */
#loginForm input[type="email"], #loginForm input[type="password"] {
    width: 100%;          /* Decrease the width of the entry boxes */
    padding: 10px;       /* Keep the padding as is */
    margin: 10px 0;      /* Space between input fields */
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Ensure the Labels in Login Form Are Above Their Inputs */
#loginForm label {
    display: block;      /* Ensures the label is above the input field */
    margin-bottom: 5px;  /* Adds some space between label and input */
}

button {
    padding: 10px 20px;
    background-color: #034f84;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #026a73;
}

/* Captcha Styles */
#captchaContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.captcha {
    font-size: 24px;
    background-color: #e0e0e0;
    color: red;
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-decoration: line-through;
}

.captcha-refresh {
    background-color: #ff8800;
    color: white;
    padding: 10px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.captcha-refresh:hover {
    background-color: #ff7000;
}

/* Footer Styles */
.footer {
    text-align: center;
    background-color: #0000;
    padding: 20px;
    margin-top: 30px;
}

.footer img {
    max-width: 200px;
    display: inline-block;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* Add to styles.css */
.enrollment-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.enrollment-form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.enrollment-form button {
    width: 100%;
    padding: 12px;
    background-color: #034f84;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

.enrollment-form button:hover {
    background-color: #026a73;
}

body,h2, h3, h4, h5, h6, p, label, select{
    font-family: 'Lato', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    font-weight: 700;
    color: rgb(0, 0, 0);
    font-size: 14px;
    line-height: 0;
}

.password-requirements {
    list-style-type: none; /* Removes bullets */
    padding-left: 0;       /* Removes default padding */
    display: block;        /* Forces <ul> to block-level element */
    margin-top: 10px;      /* Adds margin for spacing */
}

.password-requirements li {
    display: block !important;  /* Forces each <li> to be on a new line */
    margin-bottom: 20px;         /* Adds space between list items */
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.password-requirements li.valid {
    color: green;
}

.password-requirements li.invalid {
    color: red;
}
.disabled-link {
    color: grey;
    cursor: not-allowed;
    pointer-events: none;  /* Prevents the link from being clickable */
}
/* Greyed-out button styling */
.disabled-button {
    background-color: #d3d3d3; /* Light grey background */
    color: #888; /* Darker grey text */
    cursor: not-allowed; /* Show disabled cursor */
    pointer-events: none; /* Prevent clicks */
}
/* Apply blur effect to the background */
.blur-background {
    filter: blur(5px);
    pointer-events: none; /* Prevent interactions */
    user-select: none; /* Prevent text selection */
}

/* Loading spinner container */
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); /* Slight transparency */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000; /* Keep it above everything */
}

/* Loader animation */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Ensure loader is visible and not blurred */
.loading-container, .loader {
    filter: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

