:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
    --yellow: #ffa76e;
    --pink: #5846f9;
    --textcolor: #019262;
    --error: #ff4d4d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    margin: 0;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-logo img {
    width: 80px; /* Adjust size as needed */
}

/* Container for Sign-up Form */
.signUp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 80px; /* Adjust according to navbar height */
    box-sizing: border-box; /* Ensure padding is included in height calculation */
    margin-left: auto;
    margin-right: auto;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.obi-logo {
    width: 100px; /* Adjust the size as needed */
    margin-bottom: 10px;
}

h3 {
    margin-bottom: 20px;
    color: var(--textcolor);
}

.signUp-form {
    width: 100%;
    max-width: 400px;
    background-color: var(--light);
    padding: 20px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-top: auto;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
}

input[type="text"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="file"] {
    margin-top: 5px;
}

input[type="submit"] {
    width: 100%;
    padding: 15px; /* Increased padding for larger button */
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Adjust font size as needed */
}

input[type="submit"]:hover {
    background-color: var(--secondary);
}

p {
    text-align: center;
    margin-top: 15px;
    color: var(--dark);
}

.error-message {
    background-color: var(--error);
    color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

@media (max-width: 600px) {
    .nav-logo img {
        width: 60px; /* Adjust size as needed */
    }

    h3 {
        font-size: 24px;
    }

    label,
    input[type="text"],
    input[type="password"],
    input[type="date"],
    select {
        font-size: 14px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 12px; /* Adjust padding for smaller screens */
    }
}
/* Error Message */
.error-message {
    display: none; /* Hidden initially */
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d8000c;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Close Button for Error Message */
.close-error-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #d8000c;
    cursor: pointer;
    margin-left: 10px;
}

.close-error-btn:hover {
    color: black;
}
/* Loading Modal */
.loading-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.loading-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Circular Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 176, 116, 0.3); /* Light green border */
    border-top: 4px solid #00B074; /* Solid green top */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Success Message (Full-screen Overlay) */
.success-message {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary); /* Semi-transparent green background */
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.success-message p {
    margin: 0;
    padding: 0;
    font-size: 32px; /* Larger font for the success message */
}

.success-message .subtext {
    font-size: 20px; /* Smaller font for the additional message */
    margin-top: 20px;
    opacity: 0.8;
}

