/**
 * Avaran Handloom — Premium Auth Pages Stylesheet
 */

/* Entrance Fade In Up Animation */
@keyframes authFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Warm, premium background gradient on body */
body.auth-page-active {
    background: radial-gradient(circle at 10% 20%, rgba(254, 252, 243, 1) 0%, rgba(245, 239, 230, 0.6) 90%);
}

.auth-container {
    animation: authFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding: 60px 15px;
}

.auth-header h1 {
    font-family: 'Outfit', 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.95rem;
    color: #6C757D;
    line-height: 1.5;
}

/* Glassmorphic card container */
.auth-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 50px rgba(74, 85, 181, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 24px 60px rgba(74, 85, 181, 0.12) !important;
}

.auth-card .card-body {
    padding: 40px 35px !important;
}

/* Premium input controls */
.auth-card .form-group {
    margin-bottom: 24px;
    position: relative;
}

.auth-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.auth-card .form-control {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(74, 85, 181, 0.18) !important;
    border-radius: 8px !important;
    height: 48px;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: #2C2C2C;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.auth-card .form-control:focus {
    background: #ffffff !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(74, 85, 181, 0.1) !important;
}

.auth-card textarea.form-control {
    height: auto;
}

/* Auth Action Button */
.auth-card .btn-auth {
    background: linear-gradient(135deg, var(--color-primary), #6C7AE0) !important;
    border: none !important;
    color: #ffffff !important;
    height: 50px;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(74, 85, 181, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-card .btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 85, 181, 0.3) !important;
    filter: brightness(1.05);
}

.auth-card .btn-auth:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(74, 85, 181, 0.2) !important;
}

/* Form Helper Hints */
.auth-card .form-hint {
    font-size: 0.78rem;
    color: #868E96;
    margin-top: 6px;
}

/* Custom Checkbox Link */
.auth-card .form-check-label a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-card .form-check-label a:hover {
    text-decoration: underline;
}

.auth-footer-link {
    font-size: 0.9rem;
    color: #495057;
    margin-top: 24px;
}

.auth-footer-link a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-footer-link a:hover {
    color: #6C7AE0;
    text-decoration: underline;
}
