/* Auth Page Styles */

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    height: 100vh;
    color: #202124;
    background-image: url("../../images/bg.jpg");
    background-repeat: no-repeat, repeat;
    background-size: cover;
    background-position: bottom center;
    backdrop-filter: blur(2px) brightness(20%);
    caret-color: transparent;
}

.disabled{
    opacity: 0.5;
    pointer-events: none;
  }

/* Logo styling */
.logo {
    max-width: 200px; 
    margin: 0 auto 20px;
    display: block;
}

/* Login container */
.container {
    background-color: white;
    padding: 40px 25px 20px 25px;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Heading */
h1, h2, h3, h4, h5, p, span, a, input{
    font-family: "REM", sans-serif;
}

.container h2 {
    font-weight: 600;
    font-size: 30px;
    color: #202124;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.container .subheader{
    font-size: 14px;
    color:rgb(100, 100, 100);
    margin-bottom: 30px;
}

/* Input fields */
.input-field {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #202124;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #0288D1;
    background-color: #fff;
}

/* Login Button */
.login-btn, .reset-btn {
    width: 100%;
    padding: 10px;
    margin: 20px 0px 20px 0px;
    background-color: #03A9F4;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-btn {
    width: 100%;
    padding: 10px;
    margin: 20px 0px 20px 0px;
    background-color: #03A9F4;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login-btn:hover, .reset-btn {
    background-color: #50c8ffff;
}

.role-btn:hover {
    background-color: #50c8ffff;
}

.login-btn:active {
    background-color: #50c8ffff;
}

/* Forgot password link */
.forgot-password {
    text-align: right;
    font-size: 14px;
    color: #4285f4;
    cursor: pointer;
    margin-top: 12px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Footer section */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #5f6368;
}

.footer a {
    color: #E0E0E0;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Error message */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Responsive Styles (Mobile-first) */
@media (max-width: 600px) {
    .container {
        padding: 20px;
        max-width: 90%;
    }

    .container h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .input-field {
        padding: 14px;
        font-size: 16px;
    }

    .login-btn {
        padding: 14px;
        font-size: 16px;
    }

    .footer {
        font-size: 12px;
    }
}

/* For smaller tablets and larger screens */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        padding: 30px;
        max-width: 80%;
    }

    .container h2 {
        font-size: 42px;
    }

    .input-field {
        padding: 16px;
        font-size: 15px;
    }

    .login-btn {
        padding: 16px;
        font-size: 17px;
    }

    .footer {
        font-size: 13px;
    }
}

/* OTP Box Styling */
.otp-input-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-digit {
    width: 45px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: bold;
}

.otp-digit:focus {
    border-color: #0d6efd; /* Bootstrap primary color */
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Utilities */
.d-none { display: none !important; }