* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8; /* Light background color for the entire page */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

/* Navigation Styles */
nav {
    background-color: #0D1F93;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

nav .logo h2 {
    color: #fff;
    font-size: 24px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 18px;
}

nav .login-btn {
    background-color: #fff;
    color: #0D1F93;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

nav .login-btn:hover {
    background-color: #f0f0f0;
}

/* Container Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    margin-top: 60px; /* Space to account for fixed nav */
    padding: 20px;
}

.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

/* Login Box Styles */
.login-box {
    width: 50%;
    padding: 40px;
}

.login-box .logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-box .logo img {
    max-width: 100px;
}

.login-box h3 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.login-box h2 {
    color: #e91e63;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

/* Login Button */
.login-btn {
    background-color: #e91e63;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #d81b60;
}

.login-box p {
    margin: 10px 0;
    text-align: center;
}

.login-box p a {
    color: #e91e63;
    text-decoration: none;
}
.error-popup {
    display: none;
    background-color: #f44336; /* Red background for the error */
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the popup horizontally and vertically */
    border-radius: 4px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-align: center; /* Ensure the message is centered within the box */
    font-size: 16px;
}
/* Footer Styles */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #0D1F93;
    color: #fff;
    width: 100%;
}

footer .org-name {
    font-size: 18px;
    font-weight: bold;
}

footer .location {
    font-size: 14px;
}
/* here is signup styles */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background-color: #f4f4f4;
}

/* Styles for the signup section */
.signup-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.signup-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #d81b60;
}

/* Form label styles */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

/* Input field styles */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #007BFF;
    outline: none;
}

/* Button styles */
.signupbutton {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #e91e63;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signupbutton:hover {
    background-color: #d81b60;
}

.login-top-btn {
    background-color: #fff;
    color: #0D1F93;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-top-btn:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments*/
@media (max-width: 500px) {
    .signup-section {
        width: 90%;
        padding: 1.5rem;
    }
} 
@media (max-width: 500px) {
    .signup-section {
        width: 90%;
        padding: 1.5rem;
    }
} 
@media (max-width: 768px) {

    nav .nav-links {
        display: none; /* Hide navigation links on smaller screens */
    }

    .login-container, .signup-container {
        padding: 2px;
    }

    .login-section, .signup-section {
        width: 90%;
        padding: 10px;
    }

    .login-box {
        width: 100%; /* Stack content vertically on smaller screens */
    }
}

@media (max-width: 480px) {
    nav .logo h2 {
        font-size: 20px;
    }

    footer .org-name, footer .location {
        font-size: 16px;
    }
}