/* PT Tri Abhiseka Sentosa - Portal Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #0C0C0C; color: #F5F5F5; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #0C0C0C; border-right: 1px solid #2A2A2A; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; }
.main-content { flex: 1; margin-left: 260px; min-height: 100vh; }
.topbar { height: 60px; background: #151515; border-bottom: 1px solid #2A2A2A; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; position: sticky; top: 0; z-index: 40; }
.content-area { padding: 24px; }

/* Sidebar */
.sidebar-logo { padding: 16px 20px; font-size: 16px; font-weight: 700; color: #F5F5F5; border-bottom: 1px solid #2A2A2A; }
.sidebar-nav { flex: 1; padding: 12px; overflow-y: auto; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #A0A0A0; transition: all 150ms; margin-bottom: 2px; border-left: 3px solid transparent; }
.sidebar-nav a:hover { background: #151515; color: #F5F5F5; }
.sidebar-nav a.active { background: rgba(22,163,74,0.1); color: #16A34A; border-left-color: #16A34A; }
.sidebar-user { padding: 16px; border-top: 1px solid #2A2A2A; display: flex; align-items: center; gap: 12px; }
.sidebar-user .avatar { width: 36px; height: 36px; border-radius: 50%; background: #16A34A; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: white; flex-shrink: 0; }

/* Typography */
.page-title { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.page-subtitle { font-size: 14px; color: #A0A0A0; margin-bottom: 24px; }
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }

/* Cards */
.card { background: #151515; border: 1px solid #2A2A2A; border-radius: 8px; padding: 24px; }
.card-hover { transition: all 200ms; cursor: pointer; }
.card-hover:hover { border-color: #3A3A3A; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.stat-card { padding: 20px; border-left: 3px solid #16A34A; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: #A0A0A0; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; height: 44px; padding: 0 12px; background: #0C0C0C; border: 1px solid #2A2A2A; border-radius: 6px; color: #F5F5F5; font-size: 14px; transition: all 150ms; }
.form-textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.form-input::placeholder { color: #A0A0A0; opacity: 0.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all 150ms; }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: #16A34A; color: white; }
.btn-primary:hover { background: #22C55E; }
.btn-secondary { background: transparent; color: #F5F5F5; border-color: #2A2A2A; }
.btn-secondary:hover { border-color: #16A34A; color: #16A34A; }
.btn-danger { background: #EF4444; color: white; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-full { width: 100%; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 500; color: #A0A0A0; text-transform: uppercase; letter-spacing: 0.05em; background: #151515; border-bottom: 1px solid #2A2A2A; }
.data-table td { padding: 14px 16px; font-size: 14px; color: #F5F5F5; border-bottom: 1px solid #2A2A2A; }
.data-table tr:hover td { background: rgba(30,30,30,0.5); }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Upload */
.upload-area { border: 2px dashed #2A2A2A; border-radius: 8px; padding: 32px; text-align: center; transition: all 200ms; cursor: pointer; }
.upload-area:hover { border-color: #16A34A; background: rgba(22,163,74,0.05); }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid #2A2A2A; margin-bottom: 24px; }
.tab { padding: 12px 20px; font-size: 14px; font-weight: 500; color: #A0A0A0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: all 150ms; }
.tab:hover { color: #F5F5F5; }
.tab.active { color: #F5F5F5; border-bottom-color: #16A34A; }

/* Wizard Steps */
.steps { display: flex; align-items: center; margin-bottom: 32px; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.step-label { font-size: 12px; margin-top: 6px; font-weight: 500; }
.step-line { flex: 1; height: 2px; background: #2A2A2A; margin: 0 8px; margin-bottom: 24px; }
.step-done .step-circle { background: #16A34A; color: white; }
.step-active .step-circle { background: #16A34A; color: white; box-shadow: 0 0 0 4px rgba(22,163,74,0.2); }
.step-pending .step-circle { background: #151515; color: #A0A0A0; border: 1px solid #2A2A2A; }
.step-done .step-label, .step-active .step-label { color: #F5F5F5; }
.step-pending .step-label { color: #A0A0A0; }
.step-line-done { background: #16A34A !important; }

/* Landing Page */
.landing-hero { min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; background: radial-gradient(ellipse at 50% 0%, rgba(22,163,74,0.08) 0%, transparent 60%); }
.landing-hero h1 { font-size: 56px; font-weight: 700; line-height: 1.1; max-width: 800px; }
.landing-hero p { font-size: 18px; color: #A0A0A0; max-width: 600px; margin-top: 20px; }
.landing-section { padding: 100px 24px; }
.landing-section-alt { background: #151515; }
.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .criteria-grid { grid-template-columns: 1fr; } .landing-hero h1 { font-size: 36px; } }
.criteria-card { background: #0C0C0C; border: 1px solid #2A2A2A; border-radius: 8px; padding: 32px; transition: all 200ms; }
.criteria-card:hover { border-color: #3A3A3A; transform: translateY(-4px); }
.criteria-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(22,163,74,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.process-step { display: flex; gap: 24px; position: relative; }
.process-number { width: 48px; height: 48px; border-radius: 50%; background: #16A34A; color: white; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.faq-item { border-bottom: 1px solid #2A2A2A; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 16px; font-weight: 500; color: #F5F5F5; background: none; border: none; cursor: pointer; text-align: left; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease-out; }
.faq-answer.open { max-height: 500px; }
.faq-answer p { padding-bottom: 24px; font-size: 14px; color: #A0A0A0; line-height: 1.7; }
.cta-banner { padding: 80px 24px; text-align: center; background: linear-gradient(135deg, rgba(22,163,74,0.95), rgba(34,197,94,0.95)); }
.landing-footer { background: #151515; border-top: 1px solid #2A2A2A; padding: 60px 24px 30px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 64px; background: rgba(12,12,12,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid #2A2A2A; z-index: 50; display: flex; align-items: center; }
.navbar-inner { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { font-size: 18px; font-weight: 700; color: #F5F5F5; }
.navbar-links { display: flex; gap: 32px; }
.navbar-links a { font-size: 14px; font-weight: 500; color: #A0A0A0; transition: color 150ms; }
.navbar-links a:hover { color: #F5F5F5; }
@media (max-width: 768px) { .navbar-links { display: none; } }

/* Auth Pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-card { background: #151515; border: 1px solid #2A2A2A; border-radius: 8px; padding: 32px; }
.auth-title { font-size: 20px; font-weight: 600; margin-bottom: 24px; }

/* Misc */
.text-green { color: #16A34A; }
.text-gray { color: #A0A0A0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.w-full { width: 100%; }
.overflow-x { overflow-x: auto; }
.hidden { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0C0C0C; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3A3A3A; }
