@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: #0A0A0A; color: #FFFFFF; overflow-x: hidden; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 32px; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 48px; }
  .section { padding: 128px 0; }
}

.card { background: rgba(26,26,26,0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 32px; transition: border-color 0.4s; display: flex; flex-direction: column; height: 100%; }
.card:hover { border-color: rgba(196,162,101,0.3); }

.gold-glow { box-shadow: 0 0 20px rgba(196,162,101,0.3), 0 0 60px rgba(196,162,101,0.1); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; text-decoration: none; }
.btn-gold { background-color: #C4A265; color: #0A0A0A; box-shadow: 0 0 20px rgba(196,162,101,0.3), 0 0 60px rgba(196,162,101,0.1); }
.btn-gold:hover { background-color: #D4B87A; }
.btn-outline { background: transparent; color: #C4A265; border: 2px solid #C4A265; }
.btn-outline:hover { background-color: #C4A265; color: #0A0A0A; }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-md { padding: 8px 20px; font-size: 14px; }

.input { width: 100%; background: rgba(26,26,26,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 20px; color: #fff; font-family: 'Inter', sans-serif; font-size: 16px; outline: none; transition: border-color 0.3s; }
.input::placeholder { color: rgba(160,160,160,0.5); }
.input:focus { border-color: rgba(196,162,101,0.5); }
.input-sm { padding: 10px 14px; font-size: 14px; border-radius: 8px; }

.text-gold { color: #C4A265; }
.text-muted { color: #A0A0A0; }
.bg-dark { background-color: #0A0A0A; }
.bg-darksec { background-color: #111111; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #8B7340; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C4A265; }

/* Panel Layout */
.panel-sidebar { width: 260px; height: 100vh; background: #111; border-right: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; padding: 24px 16px; position: fixed; left: 0; top: 0; z-index: 100; }
.panel-main { margin-left: 260px; padding: 32px; min-height: 100vh; }
.panel-nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 10px; font-size: 14px; color: #A0A0A0; transition: all 0.2s; text-decoration: none; }
.panel-nav-link:hover { color: #C4A265; background: rgba(196,162,101,0.05); }
.panel-nav-link.active { color: #C4A265; background: rgba(196,162,101,0.1); font-weight: 600; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; text-align: left; font-size: 12px; color: #666; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06); }
.data-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.data-table tr:hover { background: rgba(255,255,255,0.02); }

/* Status badges */
.badge { font-size: 12px; padding: 3px 10px; border-radius: 99px; display: inline-block; }
.badge-new { background: rgba(96,165,250,0.13); color: #60a5fa; }
.badge-contacted { background: rgba(167,139,250,0.13); color: #a78bfa; }
.badge-qualified { background: rgba(196,162,101,0.13); color: #C4A265; }
.badge-proposal { background: rgba(251,146,60,0.13); color: #fb923c; }
.badge-won { background: rgba(52,211,153,0.13); color: #34d399; }
.badge-lost { background: rgba(248,113,113,0.13); color: #f87171; }
.badge-active { background: rgba(74,222,128,0.12); color: #4ade80; }
.badge-inactive { background: rgba(239,68,68,0.12); color: #ef4444; }

/* Cards */
.stat-card { background: #111; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px 18px; display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-card { background: #111; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 24px; }

/* Alert */
.alert { padding: 10px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: rgba(52,211,153,0.1); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.alert-error { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

/* Responsive */
@media (max-width: 767px) {
  .panel-sidebar { display: none; }
  .panel-main { margin-left: 0 !important; padding: 16px !important; padding-top: 60px !important; }
  .mobile-menu-btn { display: block !important; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none !important; }
}

select.input-sm { cursor: pointer; appearance: auto; }
textarea.input-sm { resize: vertical; font-family: 'Inter', sans-serif; }
