:root {--primary: #e0cbc2; --primary-hover: #d3b8ae; --secondary: #51201d; --secondary-hover: #3b1715; --accent: #ffecda; --bg-dark: #160b0a; --bg-card: rgba(42, 19, 17, 0.88); --bg-card-hover: rgba(62, 26, 23, 0.95); --border-color: rgba(224, 203, 194, 0.18); --text-main: #ffecda; --text-muted: #c9b1a7; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --info: #3b82f6;}
* {margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', 'Inter', -apple-system, sans-serif;}
body {background-color: var(--bg-dark); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;}
a {color: inherit; text-decoration: none;}
.app-container {display: flex; min-height: 100vh; width: 100%; position: relative;}
.sidebar {width: 260px; background: rgba(30, 13, 12, 0.95); backdrop-filter: blur(16px); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; transition: transform 0.3s ease;}
.sidebar-header {padding: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-color);}
.brand-logo {width: 42px; height: 42px; background: linear-gradient(135deg, var(--secondary), #74302c); borderRadius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--accent); border: 1px solid rgba(224, 203, 194, 0.3); box-shadow: 0 4px 15px rgba(81, 32, 29, 0.4);}
.brand-name {font-size: 20px; font-weight: 800; background: linear-gradient(90deg, #ffecda, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.sidebar-nav {padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;}
.nav-item {display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; color: var(--text-muted); font-weight: 500; font-size: 14px; transition: all 0.2s ease;}
.nav-item:hover, .nav-item.active {background: linear-gradient(90deg, rgba(81, 32, 29, 0.35), rgba(224, 203, 194, 0.15)); color: var(--accent); border-left: 3px solid var(--primary);}
.nav-icon {font-size: 18px; width: 24px; text-align: center;}
.main-wrapper {flex: 1; margin-left: 260px; display: flex; flex-direction: column; min-height: 100vh;}
.top-header {height: 70px; background: rgba(30, 13, 12, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 90;}
.user-menu {display: flex; align-items: center; gap: 14px;}
.user-avatar {width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), #74302c); border: 1px solid rgba(224, 203, 194, 0.3); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent);}
.content-area {padding: 28px; flex: 1; max-width: 1400px; width: 100%; margin: 0 auto;}
.grid-cards {display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 28px;}
.card-kpi {background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 22px; backdrop-filter: blur(10px); transition: transform 0.2s ease, box-shadow 0.2s ease;}
.card-kpi:hover {transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); border-color: rgba(224, 203, 194, 0.4);}
.kpi-title {font-size: 13px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}
.kpi-value {font-size: 28px; font-weight: 800; margin: 10px 0 4px; color: var(--accent);}
.kpi-sub {font-size: 12px; color: var(--primary);}
.btn {display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; border: none; transition: all 0.2s ease;}
.btn-primary {background: linear-gradient(135deg, var(--secondary), #74302c); color: var(--accent); border: 1px solid rgba(224, 203, 194, 0.3); box-shadow: 0 4px 15px rgba(81, 32, 29, 0.4);}
.btn-primary:hover {opacity: 0.95; transform: translateY(-1px); border-color: var(--primary);}
.btn-secondary {background: rgba(224, 203, 194, 0.12); color: var(--accent); border: 1px solid var(--border-color);}
.btn-secondary:hover {background: rgba(224, 203, 194, 0.22);}
.btn-success {background: var(--success); color: #fff;}
.btn-danger {background: var(--danger); color: #fff;}
.btn-sm {padding: 6px 14px; font-size: 12px; border-radius: 8px;}
.table-container {background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; margin-bottom: 24px;}
.custom-table {width: 100%; border-collapse: collapse; text-align: left; font-size: 14px;}
.custom-table th {background: rgba(22, 11, 10, 0.6); padding: 16px 20px; color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase;}
.custom-table td {padding: 16px 20px; border-top: 1px solid var(--border-color); color: var(--text-main);}
.custom-table tr:hover {background: rgba(224, 203, 194, 0.05);}
.badge {display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase;}
.badge-active, .badge-approved {background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3);}
.badge-pending {background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3);}
.badge-rejected, .badge-suspended {background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3);}
.badge-expired {background: var(--accent); color: var(--secondary); border: 1px solid var(--accent); font-weight: 800; box-shadow: 0 2px 8px rgba(255, 236, 218, 0.35);}
.form-group {margin-bottom: 20px;}
.form-label {display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted);}
.form-control {width: 100%; padding: 12px 16px; background: rgba(22, 11, 10, 0.85); border: 1px solid var(--border-color); border-radius: 12px; color: var(--accent); font-size: 14px; outline: none; transition: border-color 0.2s ease;}
.form-control:focus {border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224, 203, 194, 0.25);}
.alert {padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px;}
.alert-success {background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: #34d399;}
.alert-danger {background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171;}
.bottom-nav {position: fixed; bottom: 0; left: 0; right: 0; height: 65px; background: rgba(30, 13, 12, 0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--border-color); display: none; justify-content: space-around; align-items: center; z-index: 1000;}
.bottom-nav-item {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-muted); font-size: 11px; font-weight: 600;}
.bottom-nav-item.active {color: var(--primary);}
.bottom-nav-icon {font-size: 20px;}
@media (max-width: 992px) {.sidebar {transform: translateX(-100%);} .main-wrapper {margin-left: 0;} .bottom-nav {display: flex;} .content-area {padding-bottom: 85px;}}
.auth-wrapper {min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; z-index: 10;}
.auth-card {display: flex; width: 100%; max-width: 920px; border: 1px solid rgba(224, 203, 194, 0.22); border-radius: 28px; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);}
.auth-form-side {flex: 1; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; min-width: 320px; position: relative; z-index: 5;}
.auth-image-side {flex: 1.1; position: relative; background: transparent; display: flex; align-items: flex-end; overflow: hidden; min-height: 480px;}
.auth-image-bg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding-top: 15px; transition: transform 0.5s ease; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));}
.auth-image-side:hover .auth-image-bg {transform: scale(1.04);}
.auth-image-overlay {position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 11, 10, 0.95) 0%, rgba(22, 11, 10, 0.2) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; z-index: 2; pointer-events: none;}
.auth-image-badge {display: inline-flex; align-items: center; padding: 6px 14px; background: linear-gradient(135deg, var(--secondary), #74302c); border-radius: 20px; font-size: 11px; font-weight: 800; color: var(--accent); border: 1px solid rgba(224, 203, 194, 0.3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; width: fit-content; box-shadow: 0 4px 15px rgba(81, 32, 29, 0.4);}
.auth-image-title {font-family: 'CAC Champagne', cursive; font-size: 44px; font-weight: 400; color: var(--accent); margin-bottom: 2px; text-shadow: 0 2px 12px rgba(0,0,0,0.9); line-height: 1.1;}

.auth-image-sub {font-size: 13px; color: var(--primary); font-weight: 600; letter-spacing: 0.5px;}
@media (max-width: 768px) {.auth-card {flex-direction: column-reverse; max-width: 100%; border-radius: 20px; margin: 10px 0;} .auth-form-side {padding: 28px 20px; min-width: auto;} .auth-image-side {min-height: 300px; flex: none; border-bottom: 1px solid var(--border-color);}}
.video-bg-container {position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: 1; pointer-events: none; background: #160b0a;}
.video-bg-iframe {position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh; transform: translate(-50%, -50%) scale(1.4); pointer-events: none; opacity: 0.7; filter: brightness(0.85) contrast(1.15) saturate(1.2);}
.video-bg-overlay {position: fixed; inset: 0; z-index: 2; background: radial-gradient(circle at center, rgba(22, 11, 10, 0.25) 0%, rgba(22, 11, 10, 0.85) 100%); pointer-events: none;}
.pricing-card:hover {transform: translateY(-4px); border-color: var(--primary) !important; box-shadow: 0 12px 30px rgba(81, 32, 29, 0.5) !important;}
