:root {
    --bg-color: #f6f8fb;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    
    --accent: #dc2626; /* BNI Crimson Red */
    --accent-hover: #b91c1c;
    --accent-glow: rgba(220, 38, 38, 0.15);
    
    --secondary: rgba(0, 0, 0, 0.05);
    --secondary-hover: rgba(0, 0, 0, 0.1);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.1);
    --error: #ef4444;
    --error-glow: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.1);
    
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Abstract Background Glows */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.shape-1 {
    width: 45vw;
    height: 45vw;
    background: #fca5a5;
    top: -15vw;
    left: -15vw;
}
.shape-2 {
    width: 35vw;
    height: 35vw;
    background: #fecdd3;
    bottom: -10vw;
    right: -10vw;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.06);
}

/* Buttons */
.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.primary-btn {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.primary-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

.secondary-btn {
    background: var(--secondary);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}
.secondary-btn:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}
.full-width {
    width: 100%;
}

/* Inputs & Form Groups */
.input-group {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.input-group i {
    color: var(--text-secondary);
    font-size: 1.25rem;
}
.input-group input, .input-group select, .input-group textarea {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 15px;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}
.input-group select option {
    background-color: #ffffff;
    color: var(--text-primary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-success {
    background-color: var(--success-glow);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-error {
    background-color: var(--error-glow);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.badge-warning {
    background-color: var(--warning-glow);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    background: #1e293b;
    border: 1px solid var(--card-border);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    transform: translateY(-50px);
    opacity: 0;
    transition: var(--transition);
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--error); }

/* Global Modals Styling */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.modal.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    width: 90%;
    max-width: 500px;
    transform: translateY(20px);
    transition: var(--transition);
}
.modal.active .modal-content {
    transform: translateY(0);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: var(--text-primary);
}

