/* Auth Pages Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --auth-primary: #B08968;
    --auth-hover: #8C5A3C;
    --auth-bg-light: #F6F3EE;
    --auth-text-dark: #1a1a1a;
}

body.login-body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    overflow: hidden;
    padding-top: 0 !important;
    height: 100vh;
}

@media (max-width: 991.98px) {
    body.login-body {
        overflow: auto;
        height: auto;
    }
}


.h-100vh {
    min-height: 100vh;
}

/* Left Side Background */
.login-bg {
    background: url('https://placehold.co/1080x1920/1a1a1a/B08968?text=') no-repeat center center;
    background-size: cover;
    /* Fallback/Overlay gradient if image fails or for artistic effect */
    background-image: linear-gradient(135deg, rgba(20, 40, 50, 0.9), rgba(40, 30, 30, 0.8)), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?q=80&w=1932&auto=format&fit=crop');
    /* Example Unsplash Image for Ceramic Texture */
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.login-content {
    max-width: 500px;
}

/* Right Side Form */
.auth-card-wrapper {
    max-width: 480px;
    padding: 2rem;
}

.form-label {
    font-weight: 500;
    color: var(--auth-text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background-color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(176, 137, 104, 0.1);
}

.btn-primary {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--auth-hover);
    border-color: var(--auth-hover);
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-color: #e0e0e0;
    color: var(--auth-text-dark);
    padding: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
    color: #000;
}

.forgot-link,
.signup-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover,
.signup-link:hover {
    color: var(--auth-hover);
    text-decoration: underline;
}

/* Checkbox */
.form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

/* Typography Overrides */
h1,
h2 {
    letter-spacing: -0.5px;
}

.text-secondary {
    color: #6c757d !important;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .auth-card-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 auto;
    }

    .h-100vh {
        min-height: 100%;
        /* Reset min-height */
        height: auto;
    }

    .login-bg {
        height: 250px;
        /* Smaller height for mobile header */
        width: 100%;
    }

    .login-content {
        padding: 2rem !important;
    }

    .login-content h1 {
        font-size: 2.5rem;
        /* Smaller heading on mobile */
    }

    .login-content .lead {
        font-size: 1rem;
    }
}

/* General Improvements */
.form-control-lg {
    font-size: 1rem;
    /* Prevent zoom on mobile */
    padding: 0.75rem 1rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.75rem;
}

/* OTP Input Styles */
.otp-input-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.otp-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(176, 137, 104, 0.1);
    outline: none;
}

@media (max-width: 575.98px) {
    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .otp-input-wrapper {
        gap: 0.5rem;
    }
}