/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1E53D8;
    --primary-hover: #1640A9;
    --primary-light: #EFF6FF;
    --sidebar-bg: #0F1E36;
    --sidebar-hover: #1E2D4A;
    --sidebar-active: #1E53D8;
    --bg-page: #F4F6F9;
    --bg-card: #FFFFFF;
    --text-main: #1F2937;
    --text-dark: #111827;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    
    --success: #10B981;
    --success-light: #ECFDF5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEF2F2;
    --info: #3B82F6;
    --info-light: #EFF6FF;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66zm0 2L56 84L56 118L28 134L0 118L0 84L28 68z' fill='none' stroke='rgba(30, 83, 216, 0.018)' stroke-width='1'/%3E%3C/svg%3E"),
        radial-gradient(rgba(30, 83, 216, 0.04) 1.5px, transparent 1.5px),
        radial-gradient(circle at 5% 15%, rgba(30, 83, 216, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 95% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 80% 5%, rgba(59, 130, 246, 0.03) 0%, transparent 25%),
        radial-gradient(at 0% 100%, rgba(245, 158, 11, 0.03) 0px, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    background-size: 56px 100px, 24px 24px, auto, auto, auto, auto, auto;
    background-position: top left, top left, top left, top left, top left, top left, top left;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
}

/* Auth Pages (Login & Register) */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align right on desktop */
    min-height: 100vh;
    padding: 30px 10%; /* 10% spacing from right */
    background: url('../img/login-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
}

.auth-container {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.4), var(--shadow-xl);
    overflow: hidden;
    padding: 40px 32px;
    box-sizing: border-box;
}

/* Input Group with Icons */
.input-icon-wrapper {
    position: relative;
    width: 100%;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.2s ease;
    pointer-events: none;
}
.form-input-with-icon {
    padding-left: 46px !important;
    background-color: rgba(250, 250, 250, 0.7) !important;
}
.input-icon-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.2s ease;
    z-index: 10;
}
.password-toggle:hover {
    color: var(--text-dark);
}

/* Responsive & Mobile utility */
.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .auth-wrapper {
        justify-content: center; /* Center on tablets/mobile */
        padding: 20px;
        background: linear-gradient(rgba(15, 30, 54, 0.6), rgba(15, 30, 54, 0.6)), url('../img/login-bg.jpg') no-repeat center center;
        background-size: cover;
    }
    .auth-container {
        background: rgba(255, 255, 255, 0.92);
        padding: 35px 24px;
        border-radius: 20px;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.auth-logo img {
    height: 60px;
    width: auto;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--sidebar-bg);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background-color: #FAFAFA;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(30, 83, 216, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #D1D5DB;
}

.btn-danger {
    background-color: var(--danger);
    color: #FFFFFF;
}

.btn-danger:hover {
    background-color: #DC2626;
}

.btn-block {
    display: flex;
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-warning {
    background-color: var(--warning-light);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Layout (Sidebar & Main content) */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 280px;
    background-color: var(--sidebar-bg);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.sidebar-title span {
    display: block;
    color: #93C5FD;
    font-size: 11px;
    font-weight: 500;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 20px 14px;
}

.menu-section {
    margin-bottom: 24px;
}

.menu-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
    margin-bottom: 8px;
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 4px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.menu-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-link:hover {
    background-color: var(--sidebar-hover);
    color: #FFFFFF;
}

.menu-link.active {
    background-color: var(--sidebar-active);
    color: #FFFFFF;
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.15);
}

.sidebar-footer-img {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    border: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.sidebar-footer-img:hover {
    opacity: 1;
}

.sidebar-footer-text {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background-color: var(--bg-card);
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-toggle-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-main);
    cursor: pointer;
    display: none; /* Desktop hidden */
}

.header-title {
    font-size: 20px;
    font-weight: 700;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.header-date i {
    color: var(--primary-color);
}

.header-notification-bell {
    position: relative;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
}

.header-notification-bell:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

/* Header Notification Dropdown Styles */
.header-notification-wrapper {
    position: relative;
    display: inline-block;
}

.header-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 380px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none;
    overflow: hidden;
    text-align: left;
}

.header-notification-dropdown.show {
    display: block;
    animation: slideDownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.header-notification-dropdown .dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
}

.header-notification-dropdown .dropdown-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.header-notification-dropdown .dropdown-count {
    font-size: 11px;
    font-weight: 700;
    background-color: #FEE2E2;
    color: #EF4444;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.header-notification-dropdown .dropdown-body {
    max-height: 320px;
    overflow-y: auto;
}

.header-notification-dropdown .dropdown-item {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.header-notification-dropdown .dropdown-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.header-notification-dropdown .dropdown-item:hover {
    background-color: #F8FAFC;
}

.header-notification-dropdown .dropdown-item:hover::after {
    opacity: 1;
}

/* Icon wrapper styling */
.header-notification-dropdown .item-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.header-notification-dropdown .item-icon-wrapper.icon-user {
    background-color: #EFF6FF;
    color: #3B82F6;
}

.header-notification-dropdown .item-icon-wrapper.icon-maintenance {
    background-color: #FFFBEB;
    color: #D97706;
}

.header-notification-dropdown .item-content {
    flex: 1;
    min-width: 0;
}

.header-notification-dropdown .item-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: #334155;
    margin: 0 0 4px 0;
}

.header-notification-dropdown .item-text strong {
    color: #0F172A;
    font-weight: 600;
}

.header-notification-dropdown .item-meta {
    font-size: 11px;
    color: #64748B;
    margin: 0;
}

.header-notification-dropdown .item-actions {
    display: flex;
    gap: 8px;
    align-self: center;
    flex-shrink: 0;
}

.header-notification-dropdown .btn-action-check,
.header-notification-dropdown .btn-action-close {
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-notification-dropdown .btn-action-check {
    background-color: #ECFDF5;
    color: #10B981;
}

.header-notification-dropdown .btn-action-check:hover {
    background-color: #10B981;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

.header-notification-dropdown .btn-action-close {
    background-color: #FEF2F2;
    color: #EF4444;
}

.header-notification-dropdown .btn-action-close:hover {
    background-color: #EF4444;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.2);
}

.header-notification-dropdown .dropdown-empty {
    padding: 32px 20px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.header-notification-dropdown .dropdown-empty::before {
    content: '\f0f3';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 24px;
    color: #CBD5E1;
}

.header-notification-dropdown .dropdown-footer {
    padding: 14px 20px;
    text-align: center;
    border-top: 1px solid #F1F5F9;
    background-color: #F8FAFC;
}

.header-notification-dropdown .dropdown-footer a {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-notification-dropdown .dropdown-footer a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.header-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header-user-profile:hover {
    opacity: 0.8;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--primary-color);
}

.user-info {
    line-height: 1.2;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: capitalize;
}

/* Page Content Body */
.page-body {
    padding: 30px;
    flex: 1;
}

/* KPI Cards Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kpi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kpi-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.kpi-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.kpi-rupiah-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15.5px;
    letter-spacing: -0.5px;
    line-height: 1;
}

.kpi-icon-blue {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.kpi-icon-green {
    background-color: var(--success-light);
    color: var(--success);
}

.kpi-icon-orange {
    background-color: var(--warning-light);
    color: var(--warning);
}

.kpi-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.kpi-unit {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.kpi-card-link {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kpi-card-link:hover {
    color: var(--primary-hover);
}

/* Pagu Card Specific Details */
.pagu-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
}

.pagu-meta-label {
    color: var(--text-muted);
}

.pagu-meta-val {
    font-weight: 600;
}

.progress-bar-container {
    height: 6px;
    width: 100%;
    background-color: var(--border-color);
    border-radius: var(--radius-full);
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
}

.status-badge-inline {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* Attention Summary */
.attention-panel {
    margin-bottom: 30px;
}

.attention-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 20px;
}

.attention-score {
    background-color: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: var(--radius-lg);
    padding: 22px;
}

.attention-score-value {
    color: #C2410C;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.attention-score-label {
    color: #9A3412;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.attention-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.attention-metric {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: var(--radius-md);
    padding: 10px;
}

.attention-metric-value {
    color: var(--text-main);
    font-weight: 800;
}

.attention-metric-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.priority-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.priority-code {
    color: var(--primary-color);
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
}

.priority-name {
    font-weight: 700;
}

.priority-meta {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

/* Dashboard Row Configurations */
.dash-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.dash-row-3col {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.dash-row-wide-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

/* Card Panels */
.card-panel {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-body {
    padding: 24px;
}

.panel-footer-link {
    display: block;
    padding: 15px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    text-align: left;
    transition: background-color 0.2s ease;
}

.panel-footer-link:hover {
    background-color: var(--primary-light);
}

/* Tables styling */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.table-custom th {
    background-color: #F8FAFC;
    padding: 14px 18px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.table-custom td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

.table-custom tr:last-child td {
    border-bottom: none;
}

.table-custom tr:hover td {
    background-color: #F9FAFB;
}

/* Badges styling */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.badge-success {
    background-color: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background-color: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background-color: var(--info-light);
    color: var(--info);
}

/* Action Buttons */
.btn-actions {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-icon-blue {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.btn-icon-blue:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-icon-orange {
    background-color: var(--warning-light);
    color: var(--warning);
}

.btn-icon-orange:hover {
    background-color: var(--warning);
    color: #FFFFFF;
}

.btn-icon-danger {
    background-color: var(--danger-light);
    color: var(--danger);
}

.btn-icon-danger:hover {
    background-color: var(--danger);
    color: #FFFFFF;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 20px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    background-color: #F3F4F6;
    transition: all 0.2s ease;
}

.page-num:hover {
    background-color: #E5E7EB;
}

.page-num.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* Quick Actions Widget */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.quick-action-grid.grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.quick-action-grid.grid-4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .quick-action-grid.grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-action-grid.grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quick-action-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
    cursor: pointer;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.quick-action-text {
    font-size: 12px;
    font-weight: 600;
}

/* Search and Filter Row */
.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13.5px;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 30, 54, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-backdrop.show .modal-content {
    transform: scale(1);
}

.modal-header {
    background-color: #F8FAFC;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-body {
    padding: 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-footer {
    background-color: #F8FAFC;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Grid Layout for Forms inside Modals */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Toast/Notifications */
.toast-msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
    transform: translateY(0);
    opacity: 1;
}

/* Detail view items styling */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
}

.detail-value {
    color: var(--text-main);
}

/* Responsive configurations */
@media (max-width: 1200px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-action-grid,
    .quick-action-grid.grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sidebar {
        left: -280px;
    }
    .sidebar.show {
        left: 0;
    }
    .main-content {
        margin-left: 0;
    }
    .btn-toggle-sidebar {
        display: block;
    }
    .dash-row-2col, .dash-row-3col, .dash-row-wide-split {
        grid-template-columns: 1fr;
    }
    .attention-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: auto;
        min-height: 70px;
        padding: 14px 18px;
        align-items: flex-start;
        gap: 12px;
    }
    .header-meta {
        align-items: flex-end;
        flex-direction: column;
        gap: 8px;
    }
    .header-date {
        font-size: 12px;
    }
    .user-info {
        display: none;
    }
    .page-body {
        padding: 18px;
    }
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .quick-action-grid,
    .quick-action-grid.grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
    .filter-controls {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
    .filter-controls .form-select,
    .filter-controls .btn {
        width: 100% !important;
    }
    .attention-metrics {
        grid-template-columns: 1fr;
    }
    .priority-item {
        grid-template-columns: 1fr;
    }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background-color: var(--bg-card);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    animation: slideIn 0.3s ease forwards;
    border-left: 4px solid var(--primary-color);
}

.toast-notification.success {
    border-left-color: var(--success);
}

.toast-notification.success i {
    color: var(--success);
}

.toast-notification.error {
    border-left-color: var(--danger);
}

.toast-notification.error i {
    color: var(--danger);
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Split Screen Layout for Auth Pages */
.auth-wrapper-split {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #f8fafc;
    font-family: var(--font-body);
}

.auth-split-left {
    width: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%), url('../img/login-bg.jpg') no-repeat center center;
    background-size: cover;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #ffffff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.auth-split-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.auth-split-left-content {
    max-width: 500px;
    z-index: 2;
}

.auth-logo-glowing {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 40px rgba(59, 130, 246, 0.3);
}

.auth-logo-glowing img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.auth-split-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-split-subtitle {
    font-size: 16px;
    color: #93c5fd;
    font-weight: 600;
    margin: 0 0 40px 0;
}

.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 20px;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.feature-item p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.auth-split-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
}

.auth-container-modern {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid #e2e8f0;
}

/* Responsive adjustments for split screen */
@media (max-width: 992px) {
    .auth-wrapper-split {
        flex-direction: column;
        background: linear-gradient(rgba(15, 30, 54, 0.75), rgba(15, 30, 54, 0.75)), url('../img/login-bg.jpg') no-repeat center center;
        background-size: cover;
        justify-content: center;
        padding: 20px;
    }
    
    .auth-split-left {
        display: none;
    }
    
    .auth-split-right {
        width: 100%;
        padding: 0;
    }
    
    .auth-container-modern {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
        padding: 35px 24px;
    }
}

/* Concept 2: Glowing Blobs Latar Belakang (Aligned Right with Background Image) */
.auth-wrapper-glowing-blobs {
    background: linear-gradient(to right, rgba(15, 30, 54, 0.65) 0%, rgba(15, 30, 54, 0.85) 50%, rgba(8, 13, 26, 0.96) 100%), url('../img/login-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    box-sizing: border-box;
    padding: 0;
}

/* Tech Dot Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

.auth-wrapper-inner {
    width: 100%;
    max-width: 1340px; /* Expanded max-width for ultra-wide screen space */
    margin: 0 auto;
    padding: 0 80px; /* Generous padding on edges */
    display: flex;
    align-items: center; /* Center columns vertically relative to each other */
    justify-content: space-between; /* Push columns to far ends */
    z-index: 5;
    position: relative;
    box-sizing: border-box;
}

/* Branding Section */
.auth-branding-section {
    max-width: 500px; /* Strict width limit to ensure wide horizontal gap */
    width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branding-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 100px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.branding-badge img {
    height: 26px;
    width: auto;
}

.branding-badge span {
    font-size: 11px;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branding-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.branding-title span {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 1200px) {
    .branding-title {
        font-size: 44px;
        letter-spacing: -1px;
    }
}

.branding-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.feature-icon {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.feature-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.45;
}



.auth-card-section {
    max-width: 440px; /* Strict width limit to ensure wide horizontal gap */
    width: 100%;
    display: flex;
    justify-content: flex-end;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.blob {
    display: none; /* Hide blobs to keep background clean and focused on building image */
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 2; /* Floating above background image */
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 350px;
    height: 350px;
    background: #1e53d8; /* primary blue */
    top: -50px;
    left: -50px;
    animation-duration: 25s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #ec4899; /* pink */
    bottom: -100px;
    right: -50px;
    animation-duration: 30s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #10b981; /* green */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatBlob3 22s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1);
    }
    100% {
        transform: translate(-50px, 100px) scale(0.95);
    }
}

@keyframes floatBlob3 {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translate(-80px, 80px) scale(1.15);
    }
    100% {
        transform: translate(-50%, -50%) translate(50px, -50px) scale(0.9);
    }
}

/* Glassmorphism Container */
.auth-container-glass {
    background: rgba(15, 23, 42, 0.65); /* Darker translucent glass for high readability against image background */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    max-width: 440px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 45px 35px;
    box-sizing: border-box;
    z-index: 5;
    position: relative;
    color: #ffffff;
}

.auth-container-glass .auth-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
}

.auth-container-glass .auth-subtitle {
    color: #cbd5e1;
}

.auth-container-glass .form-label {
    color: #cbd5e1;
}

.auth-container-glass .form-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.auth-container-glass .form-input::placeholder {
    color: #94a3b8;
}

.auth-container-glass .form-input:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.auth-container-glass .input-icon {
    color: #94a3b8;
}

.auth-container-glass .input-icon-wrapper:focus-within .input-icon {
    color: #3b82f6;
}

.auth-container-glass .password-toggle {
    color: #94a3b8;
}

.auth-container-glass .password-toggle:hover {
    color: #ffffff;
}

.auth-container-glass .auth-footer {
    color: #cbd5e1;
}

.auth-container-glass .auth-footer a {
    color: #3b82f6;
}

.auth-container-glass .auth-footer a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.auth-container-glass .alert-danger {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.auth-container-glass .alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #d1fae5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .auth-wrapper-glowing-blobs {
        background: linear-gradient(180deg, rgba(8, 13, 26, 0.85) 0%, rgba(8, 13, 26, 0.96) 100%), url('../img/login-bg.jpg') no-repeat center center;
        background-size: cover;
        padding: 20px;
        overflow-y: auto;
        display: block;
    }
    
    .auth-wrapper-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 10px;
        gap: 0;
        min-height: 100vh;
        display: flex;
    }

    .auth-branding-section {
        display: none;
    }

    .auth-card-section {
        width: 100%;
        justify-content: center;
        animation-delay: 0s;
        opacity: 1;
    }

    .auth-container-glass {
        margin: 30px auto;
        width: 100%;
        max-width: 440px;
        padding: 35px 25px;
    }
}

/* Custom Center Alert Overlay */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: fadeInOverlay 0.25s ease-out forwards;
}

.custom-alert-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    animation: scaleUpCard 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.alert-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 4px;
}

.alert-card-danger .alert-card-icon {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}

.alert-card-success .alert-card-icon {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.alert-card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.alert-card-body p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
}

.alert-card-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alert-card-danger .alert-card-btn {
    background: #ef4444;
    color: #ffffff;
}

.alert-card-danger .alert-card-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.alert-card-success .alert-card-btn {
    background: #10b981;
    color: #ffffff;
}

.alert-card-success .alert-card-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.alert-card-btn-secondary {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

.alert-card-btn-secondary:hover {
    background: #cbd5e1 !important;
    transform: translateY(-1px);
}

.alert-card-btn-primary {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.alert-card-btn-primary:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUpCard {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.custom-alert-overlay.fade-out {
    animation: fadeOutOverlay 0.2s ease-out forwards;
}

.custom-alert-overlay.fade-out .custom-alert-card {
    animation: scaleDownCard 0.2s ease-out forwards;
}

@keyframes fadeOutOverlay {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes scaleDownCard {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.9); opacity: 0; }
}

/* Global Custom Searchable Select Dropdown */
.custom-select-container {
    position: relative;
    width: 100%;
}
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}
.custom-select-trigger:hover {
    border-color: var(--primary-hover);
}
.custom-select-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 83, 216, 0.15);
}
.custom-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 8px;
    flex-direction: column;
}
.custom-select-dropdown.show {
    display: flex;
}
.custom-select-search-wrapper {
    position: relative;
    margin-bottom: 8px;
}
.custom-select-search-wrapper .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}
.custom-select-search-wrapper input {
    width: 100%;
    padding: 8px 8px 8px 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    font-family: var(--font-body);
}
.custom-select-search-wrapper input:focus {
    border-color: var(--primary-color);
}
.custom-select-options {
    list-style: none;
    overflow-y: auto;
    max-height: 200px;
    padding: 0;
    margin: 0;
}
.custom-select-option {
    padding: 8px 12px;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-main);
    transition: background 0.15s, color 0.15s;
}
.custom-select-option:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}
.custom-select-option.selected {
    background: var(--primary-color);
    color: #FFFFFF;
    font-weight: 600;
}
.custom-select-option.no-results {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 12px;
    cursor: default;
}
.custom-select-option.no-results:hover {
    background: transparent;
    color: var(--text-muted);
    font-weight: normal;
}

/* Custom Modal Confirmation Styling */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-confirm-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-confirm-modal {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.custom-confirm-overlay.show .custom-confirm-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.custom-confirm-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 28px;
    animation: pulse-icon 2s infinite;
    box-sizing: border-box;
}

/* Success theme */
.custom-confirm-modal.success .custom-confirm-icon-wrapper {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}
/* Danger theme */
.custom-confirm-modal.danger .custom-confirm-icon-wrapper {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}
/* Warning theme */
.custom-confirm-modal.warning .custom-confirm-icon-wrapper {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.custom-confirm-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.custom-confirm-text {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 24px;
}

.custom-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.custom-confirm-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-body);
}

.custom-confirm-btn-cancel {
    background: #e2e8f0 !important;
    color: #475569 !important;
}
.custom-confirm-btn-cancel:hover {
    background: #cbd5e1 !important;
    transform: translateY(-1px);
}

.custom-confirm-btn-confirm {
    color: #FFFFFF;
}

/* Success Button */
.custom-confirm-modal.success .custom-confirm-btn-confirm {
    background-color: var(--success);
}
.custom-confirm-modal.success .custom-confirm-btn-confirm:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

/* Danger Button */
.custom-confirm-modal.danger .custom-confirm-btn-confirm {
    background-color: var(--danger);
}
.custom-confirm-modal.danger .custom-confirm-btn-confirm:hover {
    background-color: #DC2626;
    transform: translateY(-1px);
}

/* Warning Button */
.custom-confirm-modal.warning .custom-confirm-btn-confirm {
    background-color: var(--warning);
}
.custom-confirm-modal.warning .custom-confirm-btn-confirm:hover {
    background-color: #D97706;
    transform: translateY(-1px);
}

.custom-confirm-modal.success .custom-confirm-icon-wrapper {
    animation-name: pulse-success;
}
.custom-confirm-modal.danger .custom-confirm-icon-wrapper {
    animation-name: pulse-danger;
}
.custom-confirm-modal.warning .custom-confirm-icon-wrapper {
    animation-name: pulse-warning;
}

@keyframes pulse-success {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes pulse-warning {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}/* Premium Export Modal Styling */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.custom-modal-overlay.show {
    opacity: 1;
}

.custom-modal-card {
    background-color: var(--bg-card);
    width: 90%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 32px 24px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-body);
}

.custom-modal-overlay.show .custom-modal-card {
    transform: scale(1) translateY(0);
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.custom-modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.custom-modal-close {
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
    line-height: 1;
}
.custom-modal-close:hover {
    color: var(--text-dark);
}

.custom-modal-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.custom-modal-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-modal-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background-color: #FAFAFA;
    transition: all 0.2s ease;
    outline: none;
}
.custom-modal-select:focus {
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(30, 83, 216, 0.1);
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}
