/* Custom Auth Styles with Video Background */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-card {
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Video Background - optimized untuk performa */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 1;
    /* Hapus transition untuk menghindari lag */
}

.video-background.loaded {
    opacity: 1;
}

/* Remove gradient background when video is present */
.bg-body-tertiary {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

/* Light overlay untuk readability tanpa terlalu gelap */
.bg-body-tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    pointer-events: none;
}

/* Remove gradient overlay yang mengganggu video */
.bg-body-tertiary::after {
    display: none;
}

/* Enhanced card styling for video background - Disabled untuk login page */

.card-body {
    padding: 2.5rem;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Background panel - Disabled untuk login page */

/* Glass highlight untuk right panel - Disabled untuk login page */
.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Disable highlight untuk login page */
.login-page .bg-primary::before {
    display: none !important;
}

/* Subtle pattern untuk right panel - Disabled untuk login page */
.bg-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.03"><polygon points="20 0 40 20 20 40 0 20"/></g></svg>');
    pointer-events: none;
}

/* Disable pattern untuk login page */
.login-page .bg-primary::after {
    display: none !important;
}

/* Better text readability over video */
h1, .text-white {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-body h1 {
    text-shadow: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Disable text gradient untuk login page */
.login-page .card-body h1 {
    background: none !important;
    -webkit-text-fill-color: unset !important;
    color: #1f2937 !important;
}

/* Fallback for mobile devices atau ketika video tidak bisa dimuat */
@media (max-width: 768px) {
    .video-background {
        display: none;
    }
    
    .bg-body-tertiary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
}

/* Fallback ketika video error */
.video-background[style*="display: none"] ~ .bg-body-tertiary,
.no-video .bg-body-tertiary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Enhanced card dengan glass morphism putih-biru yang lebih terang - Disabled untuk login page */
.card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(240, 245, 255, 0.9) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 16px rgba(102, 126, 234, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Disable generic card styling untuk login page */
.login-page .card {
    background: none !important;
}

/* Glass effect highlight */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    z-index: 1;
}

/* Card body styling */
.card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.input-group-text {
    border-right: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.input-group-text .icon {
    color: #667eea !important;
    fill: #667eea !important;
}

.form-control {
    border-left: none;
    padding-left: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.form-control:focus + .input-group-text .icon {
    color: #667eea !important;
    fill: #667eea !important;
}

/* Button styling dengan glass effect yang lebih terang */
.btn-primary {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.95) 0%, 
        rgba(118, 75, 162, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        rgba(90, 111, 216, 0.95) 0%, 
        rgba(106, 76, 147, 0.9) 100%);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.95) 0%, 
        rgba(32, 201, 151, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(40, 167, 69, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-success:hover {
    background: linear-gradient(135deg, 
        rgba(33, 136, 56, 0.95) 0%, 
        rgba(30, 126, 52, 0.9) 100%);
    box-shadow: 
        0 6px 20px rgba(40, 167, 69, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Fix for SVG icons - Universal approach */
.input-group-text svg.icon,
.input-group-text .icon {
    width: 1rem !important;
    height: 1rem !important;
    fill: #6c757d !important;
    color: #6c757d !important;
    opacity: 1 !important;
}

.input-group-text svg.icon use,
.input-group-text .icon use {
    fill: #6c757d !important;
    color: #6c757d !important;
}

/* Focus state */
.form-control:focus ~ .input-group-text .icon,
.input-group:focus-within .input-group-text .icon {
    fill: #667eea !important;
    color: #667eea !important;
}

/* Dark mode compatibility - All possible selectors */
[data-coreui-theme="dark"] .input-group-text,
.dark .input-group-text,
body[data-theme="dark"] .input-group-text {
    background-color: #2d3436 !important;
    border-color: #495057 !important;
    color: #adb5bd !important;
}

[data-coreui-theme="dark"] .input-group-text .icon,
[data-coreui-theme="dark"] .input-group-text svg.icon,
.dark .input-group-text .icon,
body[data-theme="dark"] .input-group-text .icon {
    fill: #adb5bd !important;
    color: #adb5bd !important;
}

[data-coreui-theme="dark"] .form-control,
.dark .form-control,
body[data-theme="dark"] .form-control {
    background-color: #2d3436 !important;
    border-color: #495057 !important;
    color: #fff !important;
}

/* Light mode explicit */
[data-coreui-theme="light"] .input-group-text .icon,
[data-coreui-theme="light"] .input-group-text svg.icon,
.light .input-group-text .icon,
body[data-theme="light"] .input-group-text .icon,
html:not([data-coreui-theme="dark"]) .input-group-text .icon {
    fill: #6c757d !important;
    color: #6c757d !important;
}

/* Auto mode - follows system preference */
@media (prefers-color-scheme: dark) {
    [data-coreui-theme="auto"] .input-group-text .icon,
    [data-coreui-theme="auto"] .input-group-text svg.icon {
        fill: #adb5bd !important;
        color: #adb5bd !important;
    }
    
    [data-coreui-theme="auto"] .input-group-text {
        background-color: #2d3436 !important;
        border-color: #495057 !important;
    }
}

@media (prefers-color-scheme: light) {
    [data-coreui-theme="auto"] .input-group-text .icon,
    [data-coreui-theme="auto"] .input-group-text svg.icon {
        fill: #6c757d !important;
        color: #6c757d !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-background {
        display: none;
    }
    
    .bg-body-tertiary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .auth-form {
        margin: 1rem;
    }
    
    .card-group .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile card lebih terang */
    .card {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
    }
}

/* Animation for form elements */
.form-control, .btn {
    transition: all 0.3s ease;
}

.alert {
    border-radius: 0.5rem;
}

.invalid-feedback {
    font-size: 0.875rem;
}

/* Loading state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Terms checkbox styling */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Card login dengan glass morphism putih transparan */
.login-page .card:first-child {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(240, 245, 255, 0.9) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 16px rgba(102, 126, 234, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Card sign up dengan glass morphism biru transparan */
.login-page .bg-primary {
    background: linear-gradient(145deg, 
        rgba(102, 126, 234, 0.85) 0%, 
        rgba(118, 75, 162, 0.75) 50%, 
        rgba(79, 172, 254, 0.8) 100%) !important;
    backdrop-filter: blur(25px);
}

/* Styling khusus video background untuk login page */
.login-page .bg-body-tertiary::before {
    display: none !important;
}

.login-page .video-background {
    z-index: -2;
    opacity: 1;
}

/* Override card styling untuk login page - White Glass (Lebih Transparan) */
.login-page .card:not(.bg-primary) {
    background: rgba(255, 255, 255, 0) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0) !important;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0) !important;
    border-radius: 16px !important;
}

/* Sign up panel - Blue Ocean Glass (15% Transparansi) */
.login-page .card.bg-primary {
    background: rgba(59, 130, 246, 0.01) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid rgba(59, 130, 246, 0.10) !important;
    box-shadow: 
        0 12px 32px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
}

/* Text styling khusus untuk login page */
.login-page .card-body h1 {
    color: #667eea;
    font-weight: 700;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: unset;
}

.login-page .bg-primary h1,
.login-page .bg-primary p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Button styling untuk login page - Full Glass Putih */
.login-page .btn-primary {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1.5rem !important;
    height: auto !important;
    min-height: 38px !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    position: relative;
}

/* Efek glass highlight untuk tombol - White Glass */
.login-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.login-page .btn-primary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #1f2937 !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
}

.login-page .btn-primary:active {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Button styling untuk sign up - Blue Ocean Glass */
.login-page .btn-outline-light {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.login-page .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* Text styling untuk login page */
.login-page .card:not(.bg-primary) h1 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.login-page .card:not(.bg-primary) p,
.login-page .card:not(.bg-primary) label,
.login-page .card:not(.bg-primary) .btn-link {
    color: #374151 !important;
}

.login-page .bg-primary h2,
.login-page .bg-primary p {
    color: #515661 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

/* Icon styling */
.login-page .input-group-text .icon {
    color: #6b7280 !important;
    fill: #6b7280 !important;
}

/* Checkbox styling - Super Transparan */
.login-page .form-check-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.login-page .form-check-input:checked {
    background: rgba(59, 130, 246, 0.6) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Perbaikan untuk berbagai kondisi loading */
.bg-body-tertiary.video-loading {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
}

/* Smooth transition ketika video load */
.video-background {
    will-change: opacity;
}

/* Placeholder background ketika video loading */
.bg-body-tertiary::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    z-index: -3;
    transition: opacity 0.5s ease;
}

.no-video .bg-body-tertiary::after {
    opacity: 1;
}

/* Card glow effect untuk glass morphism yang lebih dramatis */
.card {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.1));
}

/* Card hover effect - Disabled untuk menghindari lag */
.card:hover {
    filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.15));
}

/* ========================================
   REGISTER PAGE STYLING
======================================== */

/* Styling video background untuk register page */
.register-page .bg-body-tertiary::before {
    display: none !important;
}

.register-page .video-background {
    z-index: -2;
    opacity: 1;
}

/* Card styling untuk register page - White Glass */
.register-page .card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
}

/* Input styling untuk register page */
.register-page .input-group-text {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: none !important;
}

.register-page .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    color: #1f2937 !important;
}

.register-page .form-control::placeholder {
    color: rgba(31, 41, 55, 0.6) !important;
}

.register-page .form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1) !important;
}

/* Button styling untuk register page - Full Glass Putih */
.register-page .btn-success {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1.5rem !important;
    height: auto !important;
    min-height: 38px !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    position: relative;
}

.register-page .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.register-page .btn-success:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #1f2937 !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
}

.register-page .btn-success:active {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Text styling untuk register page */
.register-page .card h1 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.register-page .card p,
.register-page .card label,
.register-page .card .btn-link {
    color: #374151 !important;
}

/* Icon styling */
.register-page .input-group-text .icon {
    color: #6b7280 !important;
    fill: #6b7280 !important;
}

/* Checkbox styling untuk register page - Glass Effect */
.register-page .form-check-input {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.register-page .form-check-input:checked {
    background: rgba(59, 130, 246, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

/* ========================================
   FORGOT PASSWORD PAGE STYLING
======================================== */

/* Styling video background untuk forgot password page */
.forgot-password-page .bg-body-tertiary::before {
    display: none !important;
}

.forgot-password-page .video-background {
    z-index: -2;
    opacity: 1;
}

/* Card styling untuk forgot password page - White Glass */
.forgot-password-page .card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
}

/* Input styling untuk forgot password page */
.forgot-password-page .input-group-text {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: none !important;
}

.forgot-password-page .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #1f2937 !important;
}

.forgot-password-page .form-control::placeholder {
    color: rgba(31, 41, 55, 0.6) !important;
}

.forgot-password-page .form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1) !important;
}

/* Button styling untuk forgot password page - Full Glass Putih */
.forgot-password-page .btn-primary {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1.5rem !important;
    height: auto !important;
    min-height: 38px !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    position: relative;
}

.forgot-password-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.forgot-password-page .btn-primary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #1f2937 !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
}

.forgot-password-page .btn-primary:active {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Text styling untuk forgot password page */
.forgot-password-page .card h1 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.forgot-password-page .card p,
.forgot-password-page .card label,
.forgot-password-page .card .btn-link {
    color: #374151 !important;
}

/* Icon styling */
.forgot-password-page .input-group-text .icon {
    color: #6b7280 !important;
    fill: #6b7280 !important;
}

/* Checkbox styling untuk forgot password page - Glass Effect */
.forgot-password-page .form-check-input {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.forgot-password-page .form-check-input:checked {
    background: rgba(59, 130, 246, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

/* Alert styling untuk semua auth pages */
.register-page .alert,
.forgot-password-page .alert {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #1f2937 !important;
    border-radius: 8px !important;
}

/* ========================================
   PERFORMANCE OPTIMIZATION - NO LAG EFFECTS
======================================== */

/* Disable semua transition dan transform untuk menghindari lag */
.login-page *,
.register-page *,
.forgot-password-page * {
    transition: none !important;
    transform: none !important;
}

/* Hanya izinkan opacity transition untuk video background */
.login-page .video-background,
.register-page .video-background,
.forgot-password-page .video-background {
    transition: opacity 0.5s ease !important;
}

/* ========================================
   AUTH LOGO STYLING
======================================== */

/* ========================================
   AUTH LOGO STYLING - SPECIFIC PER PAGE
======================================== */

/* Logo styling khusus untuk LOGIN PAGE - Ukuran besar dengan spacing minimal */
.login-page .auth-logo-img {
    width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo container khusus untuk LOGIN PAGE - Minimal spacing */
.login-page .text-center.mb-4 {
    margin-bottom: 0.5rem !important; /* Sangat kecil space di bawah */
    margin-top: 0 !important; /* Hapus space di atas */
    padding: 0 !important; /* Hapus padding */
}

/* Responsive logo untuk LOGIN PAGE */
@media (max-width: 576px) {
    .login-page .auth-logo-img {
        width: 160px;
        max-height: 60px;
    }
    
    .login-page .text-center.mb-4 {
        margin-bottom: 0.25rem !important; /* Lebih kecil lagi di mobile */
    }
}

@media (min-width: 768px) {
    .login-page .auth-logo-img {
        width: 220px;
        max-height: 90px;
    }
}

/* Logo styling default untuk halaman auth lainnya - Ukuran standar */
.register-page .auth-logo-img,
.forgot-password-page .auth-logo-img,
.auth-logo-img {
    width: 120px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Responsive logo untuk halaman auth lainnya */
@media (max-width: 576px) {
    .register-page .auth-logo-img,
    .forgot-password-page .auth-logo-img {
        width: 100px;
        max-height: 50px;
    }
}

@media (min-width: 768px) {
    .register-page .auth-logo-img,
    .forgot-password-page .auth-logo-img {
        width: 140px;
        max-height: 70px;
    }
}

/* ========================================
   LOGIN PAGE INPUT GLASS EFFECT OVERRIDE
======================================== */

/* Override input styling untuk login page - Glass Effect */
.login-page .input-group-text {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-right: none !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.login-page .form-control {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-left: none !important;
    color: #1f2937 !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.login-page .form-control::placeholder {
    color: rgba(31, 41, 55, 0.6) !important;
}

.login-page .form-control:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 
        0 0 0 0.2rem rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(59, 130, 246, 0.1) !important;
    color: #1f2937 !important;
}

/* Icon styling untuk login page */
.login-page .input-group-text .icon {
    color: #6b7280 !important;
    fill: #6b7280 !important;
}

.login-page .form-control:focus ~ .input-group-text .icon,
.login-page .input-group:focus-within .input-group-text .icon {
    color: #3b82f6 !important;
    fill: #3b82f6 !important;
}

/* Checkbox styling untuk login page - Glass Effect */
.login-page .form-check-input {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.login-page .form-check-input:checked {
    background: rgba(59, 130, 246, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

/* ========================================
   LOGIN PAGE ULTRA COMPACT SPACING
======================================== */

/* Card body khusus login - minimal padding */
.login-page .card-body {
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Logo container - hapus semua spacing */
.login-page .text-center.mb-0 {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Form container - minimal top margin */
.login-page form.mt-2 {
    margin-top: 0.25rem !important;
}

/* H1 Login - minimal spacing */
.login-page h1.mt-0.mb-1 {
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}

/* Responsive - mobile lebih kompak lagi */
@media (max-width: 576px) {
    .login-page .card-body {
        padding-top: 0.25rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .login-page form.mt-2 {
        margin-top: 0.125rem !important;
    }
}

