/* ============================================================
   TARTILA - AUTH LOGIN STYLESHEET
   Extracted from app/Views/auth/login.php
   ============================================================ */

/* Scoped Styling Tema Tenant untuk Halaman Login */
.auth-page-wrapper {
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.auth-ambient-glow {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(var(--rf-primary-rgb, 5, 150, 105), 0.12) 0%, rgba(var(--rf-primary-rgb, 5, 150, 105), 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-card-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-logo-badge {
    width: 4.75rem;
    height: 4.75rem;
    background: #ffffff;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    padding: 0.65rem;
    border: 1px solid rgba(var(--rf-primary-rgb, 5, 150, 105), 0.15);
    box-shadow: 0 10px 25px -5px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-logo-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 28px -5px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.25);
}

.auth-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.auth-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(var(--rf-primary-rgb, 5, 150, 105), 0.12);
    box-shadow: 0 16px 36px -8px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 2.25rem 2rem;
    backdrop-filter: blur(8px);
}

.auth-input-group {
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.auth-input-group .input-group-text {
    border-color: var(--rf-border, #e2e8f0);
    color: var(--rf-text-dim, #94a3b8);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.auth-input-group .form-control {
    border-color: var(--rf-border, #e2e8f0);
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.15);
    border-radius: 0.75rem;
}

.auth-input-group:focus-within .input-group-text,
.auth-input-group:focus-within .form-control {
    border-color: var(--rf-primary, #059669);
}

.auth-input-group:focus-within .input-group-text i {
    color: var(--rf-primary, #059669);
}

.auth-btn-primary {
    background: linear-gradient(135deg, var(--rf-primary, #059669) 0%, var(--rf-primary-dark, #047857) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.4);
    filter: brightness(1.05);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-link-theme {
    color: var(--rf-primary, #059669);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.auth-link-theme:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: var(--rf-primary, #059669) !important;
    border-color: var(--rf-primary, #059669) !important;
}

.form-check-input:focus {
    border-color: var(--rf-primary, #059669);
    box-shadow: 0 0 0 3px rgba(var(--rf-primary-rgb, 5, 150, 105), 0.15);
}
