/* ==========================================================================
   LOGIN PAGE STYLING (Glassmorphism & Clean UI)
   ========================================================================== */
.login-page-body {
    background: linear-gradient(135deg, rgba(165, 0, 0, 0.95), rgba(40, 0, 0, 0.95)), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    margin: 0;
    position: relative;
}

.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.back-home:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffc107;
}

.login-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-logo {
    height: 65px;
    margin-bottom: 12px;
    object-fit: contain;
}

.login-header h2 {
    color: #c90000;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.login-header p {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #c90000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Panes */
.auth-pane {
    display: none;
    animation: fadeIn 0.3s ease-out;
}
.auth-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-desc {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Google Button */
.btn-google {
    width: 100%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.google-icon {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 0.85rem;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.divider span {
    padding: 0 10px;
}

/* Guest Button */
.btn-guest {
    width: 100%;
    background: #fef2f2;
    border: 1px dashed #ef4444;
    color: #dc2626;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-guest:hover {
    background: #fee2e2;
}

/* Form Inputs */
.input-group {
    margin-bottom: 16px;
}
.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.input-field {
    position: relative;
}
.input-field i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}
.input-field input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
}
.input-field input:focus {
    background: #fff;
    border-color: #c90000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 0, 0, 0.1);
}

.auth-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.btn-submit-primary {
    flex: 1;
    background: #c90000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-submit-primary:hover {
    background: #a30000;
}
.btn-submit-secondary {
    flex: 1;
    background: #f1f5f9;
    color: #334155;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-submit-secondary:hover {
    background: #e2e8f0;
}
.w-100 { width: 100%; }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}   