﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f2f5;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 480px;
    margin: 1rem;
}

    .login-container h2 {
        color: #1a73e8;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

    .input-group input,
    .input-group select {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #e1e5ea;
        border-radius: 8px;
        background: #f8fafd;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }

        .input-group input:focus,
        .input-group select:focus {
            border-color: #1a73e8;
            background: white;
            box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
            outline: none;
        }

    .input-group label {
        position: absolute;
        left: 0.75rem;
        top: 0.75rem;
        color: #5f6368;
        font-size: 0.95rem;
        pointer-events: none;
        transition: all 0.2s ease;
        background: transparent;
        padding: 0 0.25rem;
    }

    .input-group input:focus ~ label,
    .input-group input:not(:placeholder-shown) ~ label,
    .input-group select:focus ~ label,
    .input-group select:not(:placeholder-shown) ~ label {
        top: -0.5rem;
        left: 0.5rem;
        font-size: 0.8rem;
        background: white;
        color: #1a73e8;
    }

.actions button {
    width: 100%;
    padding: 0.875rem;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .actions button:hover {
        background: #1557b0;
    }

.Signup-Back-btn {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #5f6368;
}

    .Signup-Back-btn a {
        color: #1a73e8;
        text-decoration: none;
        font-weight: 500;
    }

        .Signup-Back-btn a:hover {
            text-decoration: underline;
        }

.error-message {
    font-size: 0.8rem;
    color: #d93025;
    margin-top: 0.25rem;
    padding-left: 0.75rem;
}

input::placeholder {
    color: transparent;
}

select {
    appearance: none;
    background-image: url("../Assets/Down.svg");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
}

/* New styles for password requirements */
.password-requirements {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 0.25rem;
    padding-left: 0.75rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.2rem 0;
}

    .requirement::before {
        content: "•";
        color: #d93025;
    }

    .requirement.valid::before {
        color: #34a853;
    }

    .requirement.valid {
        color: #34a853;
    }

    .requirement.invalid {
        color: #d93025;
    }

.password-requirements {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 0.25rem;
    padding-left: 0.75rem;
    display: none;
    /* Hidden by default */
}

.input-group input:focus ~ .password-requirements,
.input-group input:not(:placeholder-shown) ~ .password-requirements {
    display: block;
    /* Show when input is focused or has content */
}

.MultiSelect button {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    background: #f8fafd;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

#MultiselectInput {
    margin-top: 0;
    position: absolute;
    top: -9px;
    left: 14px;
    z-index: 2;
    font-size: 0.8rem;
    background: white;
    color: #1a73e8;
}

button.btn.dropdown-toggle.bs-placeholder.btn-light:hover {
    background: none !important;
    border-color: none !important;
}
.ResetPasswordLoader {
    color: #ffffff;
    margin: 6px 0px 0px 13px;
}
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 2px solid #e1e5ea;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

    .otp-input:focus {
        border-color: #007bff;
    }

    .otp-input.filled {
        border-color: #28a745;
    }