/* ════════════════════════════════════════════════════════════════════════════
   CARBON ORANGE — Theme
   ════════════════════════════════════════════════════════════════════════════ */

@import url('../standard/style.css');

:root {
  --bg:           #0d0d0d;
  --bg2:          #161616;
  --primary:      #ff7a00;
  --primary-dim:  rgba(255,122,0,0.15);
  --primary-glow: 0 0 24px rgba(255,122,0,0.45);
  --accent:       #ffd000;
  --accent-dim:   rgba(255,208,0,0.15);
  --text:         #f0f0f0;
  --text-dim:     #888888;
  --text-dimmer:  #444444;
  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(255,122,0,0.3);
}

.bg-overlay {
  background: linear-gradient(160deg,
    rgba(13,13,13,0.97) 0%,
    rgba(13,13,13,0.88) 60%,
    rgba(255,122,0,0.06) 100%) !important;
}
.site-header { background: rgba(13,13,13,0.92) !important; }
.btn-login:hover, .btn-primary:hover { background: #cc5e00 !important; }
/* 3-Column FIXED Layout */
html, body {
    height: 100vh !important;
    overflow: hidden !important;
}
.site-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
.site-footer {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: #0d0d0d !important;
}
.page-main {
    position: fixed !important;
    top: var(--header-h);
    bottom: 56px;
    left: 0; right: 0;
    margin-top: 0 !important;
    overflow: hidden !important;
}
.layout-container {
    display: grid !important;
    grid-template-columns: 300px 1fr 300px !important;
    height: 100% !important;
    gap: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.sidebar {
    height: 100% !important;
    overflow-y: auto !important;
    padding: 24px !important;
    background: rgba(0,0,0,0.3);
    border-right: 1px solid var(--border);
}
.sidebar-right { border-right: none; border-left: 1px solid var(--border); }

.content-center {
    height: 100% !important;
    overflow-y: auto !important;
    padding: 40px !important;
}

@media (max-width: 1200px) {
    html, body { height: auto !important; overflow: auto !important; }
    .site-header, .site-footer, .page-main { position: static !important; height: auto !important; }
    .layout-container { grid-template-columns: 1fr !important; display: block !important; }
    .sidebar, .content-center { height: auto !important; overflow: visible !important; }
}

/* ── 404 ERROR PAGE ── */
.error-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--font-main, 'Rajdhani', sans-serif);
}

.error-visual {
  position: relative;
  margin-bottom: 40px;
  max-width: 600px;
  width: 100%;
}

.error-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(232, 35, 42, 0.3);
  border: 1px solid rgba(232, 35, 42, 0.2);
}

.error-glitch-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-title, 'Orbitron', sans-serif);
  text-shadow: 0 0 20px rgba(232, 35, 42, 0.8);
  letter-spacing: 10px;
  pointer-events: none;
}

.error-title {
  font-family: var(--font-title, 'Orbitron', sans-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--primary, #e8232a);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.error-message {
  font-size: 18px;
  color: var(--text-dim, #aaa);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .error-glitch-text { font-size: 80px; }
  .error-title { font-size: 32px; }
  .error-actions { flex-direction: column; }
}
