:root {
    --primary-color: #005f8d;       /* Blue from the logo */
    --primary-dark: #004f73;        /* Darker blue for contrast */
    --accent-color: #1e1af4;        /* Orange accent color */
    --secondary-color: #007b3c;     /* Green for additional highlights */
    --text-color: #ffffff;          /* White for text on dark backgrounds */
    --gradient-start: #005f8d;      /* Gradient start color */
    --gradient-end: #f4a61a;        /* Gradient end color */
}


/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(218, 242, 255, 0.85) 35%, 
        rgba(209, 247, 255, 1) 100%);
    font-family: Arial, sans-serif;
    color: var(--primary-dark);
    
}
h1{
    font-family: Arial, sans-serif;
    font-size:1.89rem;
    font-weight: bold;

}
p{
    font-size: large;
    font-weight:300;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

/* Column Layout */
.col-lg-6 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Form Container */
.form-container {
    background: var(--text-color);
    color: var(--primary-dark);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

/* Form Headers */
h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
}

/* Tabs */
.tab-header {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--secondary-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-weight: 500;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.tab-btn.active {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--secondary-color);
}

/* Form Inputs and Buttons */
form {
    display: none;
}

form.active {
    display: block;
}

.form-control, .form-select {
    padding: 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 60, 0.25);
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    padding: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Logo Styling */
.logo-img {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

/* Forgot Password Link */
.forgot-password-link {
    font-size: 0.9rem;
    color: var(--secondary-color); /* Use a color from your palette */
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: var(--primary-dark); /* Darker shade for hover effect */
    text-decoration: underline;
}

/* Additional Text */
.member-text {
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.member-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.member-text a:hover {
    text-decoration: underline;
}

/* Image Styling */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

.form-control, .form-select {
    padding: 0.75rem;
    border: none; /* Remove the default border */
    border-bottom: 1px solid rgba(0, 95, 141, 0.5); /* Thicker and lighter bottom border */
    border-radius: 0; /* Remove rounded corners */
    outline: none; /* Remove outline on focus */
}

.form-control:focus, .form-select:focus {
    border-color: rgba(0, 123, 60, 0.5); /* Change to a lighter secondary color on focus */
    box-shadow: none; /* Remove the shadow on focus */
}

.form-control.error {
    border-color: red;
}

/* General Styling */
.logo-container img {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.form-container {
    max-width: 400px;
    width: 100%;
}

.content-wrapper img {
    max-width: 80%;
    margin: 0 auto;
}

/* Responsive Layout for Mobile */
@media (max-width: 991px) {
    /* Stack elements in mobile layout */
    .row {
        flex-direction: column-reverse; /* Stacks logo, form, then content and image */
    }

    .col-lg-6 {
        max-width: 90%;
        width: 100%;
        padding: 1rem;
    }

    .form-container,
    .content-wrapper {
        max-width: 90%;
    }

    .content-wrapper h3 {
        font-size: 1.5rem;
    }

    .content-wrapper p {
        font-size: 1rem;
        margin-top: 0%;
    }

    .logo-img {
        max-width: 150px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 1rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .content-wrapper h3 {
        font-size: 1.2rem;
    }

    .content-wrapper p {
        font-size: 0.9rem;
    }

    .logo-container img {
        max-width: 150px;
        margin-bottom: 1rem;
    }
}

.blue1{
    color:#5F9EBA;
}
.blue1>span{
    color:  #42b6f5 ;
}


.form-content {
    display: none;
}
.form-content.active {
    display: block;
    margin-top: 0%;
}
.custom-file-upload {
    display: flex;
    flex-direction: column; /* Stacks items for mobile view */
    align-items: flex-start;
    gap: 10px;
}

#customFileButton {
    background-color: #004f73;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap; /* Prevents text wrapping */
    width: 100%; /* Full width for mobile */
}

#customFileButton:hover {
    background-color: #003b56;
}

#fileName {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%; /* Ensures it adjusts in mobile */
    display: block; /* Moves file name to a new line for clarity */
}

/* Media Query for Larger Screens */
@media (min-width: 576px) {
    .custom-file-upload {
        flex-direction: row; /* Horizontal layout for larger screens */
        align-items: center;
    }

    #customFileButton {
        width: auto; /* Allow button size to adjust */
    }

    #fileName {
        max-width: 200px; /* Limit width for larger screens */
    }
}