@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg-color: #0f172a;
  --panel-bg: rgba(15, 23, 42, 0.65);
  --panel-border: rgba(255, 255, 255, 0.15);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #eab308;
  --accent-hover: #ca8a04;
  --accent-gradient: linear-gradient(135deg, #eab308, #d97706);
  --success: #10b981;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.95)), url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ==================== NAVBAR ==================== */
.navbar {
  padding: 0.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-placeholder { grid-column: 1; }
.logo { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-decoration: none; gap: 0; }
.logo img { height: 110px; object-fit: contain; mix-blend-mode: screen; transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275); margin-bottom: -15px; }
.logo:hover img { transform: scale(1.05); }
.nav-links { grid-column: 3; display: flex; justify-content: flex-end; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 1rem; transition: all 0.3s; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; }
.nav-links a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--accent-gradient); color: #1e1e1e; border: none;
  padding: 0.85rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(234,179,8,0.3); font-family: 'Tajawal', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234,179,8,0.5); }

/* ==================== LAYOUT ==================== */
main { flex: 1; display: flex; padding: 3rem 2rem; gap: 2.5rem; max-width: 1500px; margin: 0 auto; width: 100%; }
.configurator { flex: 2; display: flex; flex-direction: column; gap: 2.5rem; }
.summary-panel { flex: 1; position: sticky; top: 130px; height: fit-content; }

/* ==================== GLASS CARD ==================== */
.glass-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.22); }

/* ==================== NOTICE BANNER ==================== */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(234,179,8,0.08) 0%, rgba(234,179,8,0.04) 100%);
  border: 1.5px solid rgba(234,179,8,0.4);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.notice-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: var(--accent-gradient);
  border-radius: 0 18px 18px 0;
}
.notice-banner-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 2px 8px rgba(234,179,8,0.4));
}
.notice-banner-body { flex: 1; }
.notice-banner-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #eab308;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}
.notice-banner-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.notice-banner-text strong { color: #fde68a; }
.notice-banner-steps {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.notice-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}
.notice-step-us {
  background: rgba(234,179,8,0.12);
  border-color: rgba(234,179,8,0.35);
  color: #eab308;
  font-weight: 700;
}
.notice-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}

/* ==================== QUOTE SCOPE BOX ==================== */
.quote-scope-notice {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.scope-included, .scope-excluded {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.scope-included { border: 1px solid rgba(16,185,129,0.2); }
.scope-excluded  { border: 1px solid rgba(239,68,68,0.2); }
.scope-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.scope-included .scope-title { color: #4ade80; }
.scope-excluded  .scope-title { color: #f87171; }
.scope-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.scope-list li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-right: 0.8rem;
  position: relative;
  line-height: 1.5;
}
.scope-list li::before {
  content: '›';
  position: absolute;
  right: 0;
  color: rgba(255,255,255,0.25);
  font-weight: bold;
}
.scope-included .scope-list li::before { color: rgba(74,222,128,0.5); }
.scope-excluded  .scope-list li::before { color: rgba(248,113,113,0.5); }
.scope-list li strong { color: #fca5a5; }
.scope-important-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(234,179,8,0.07);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  color: #fde68a;
  font-weight: 600;
}

/* ==================== COLLAPSIBLE SECTIONS ==================== */
.collapsible-section {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.section-collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.section-visible {
  max-height: 2000px; /* arbitrary large value */
  opacity: 1;
  margin-top: 0;
}
.unlock-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: -1rem;
  animation: pulseHint 2s infinite ease-in-out;
}
.unlock-icon {
  font-size: 2rem;
  filter: grayscale(1) opacity(0.5);
}
@keyframes pulseHint {
  0% { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
  50% { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
  100% { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
}

/* ==================== SECTION TITLE ==================== */
.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; color: white; }
.section-title span { background: var(--accent-gradient); color: #1e1e1e; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 0 15px rgba(234,179,8,0.4); }

/* ==================== OPTIONS GRID ==================== */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; }
.option-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.75rem 1.5rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.option-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.option-card.selected { border-color: var(--accent); background: rgba(234,179,8,0.08); box-shadow: inset 0 0 0 1px var(--accent), 0 8px 20px rgba(0,0,0,0.2); }
.option-icon { font-size: 2.8rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); transition: transform 0.3s; }
.option-card:hover .option-icon { transform: scale(1.1); }
.option-title { font-weight: 700; font-size: 1.15rem; color: white; }
.option-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ==================== SLIDER ==================== */
.slider-container { width: 100%; padding: 1rem 0; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 28px; width: 28px; border-radius: 50%; background: #1e1e1e; border: 4px solid var(--accent); cursor: pointer; margin-top: -10px; box-shadow: 0 0 15px rgba(234,179,8,0.6); transition: transform 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: rgba(255,255,255,0.15); border-radius: 4px; }
.slider-labels { display: flex; justify-content: space-between; margin-top: 1rem; color: var(--text-muted); font-weight: 500; font-size: 1rem; }
.current-value-display { text-align: center; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 2rem; text-shadow: 0 4px 15px rgba(234,179,8,0.3); }

/* ==================== CHECKBOX ==================== */
.checkbox-option { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; cursor: pointer; transition: all 0.3s; }
.checkbox-option:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.checkbox-option input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.checkbox-info { flex: 1; }
.checkbox-title { font-weight: 700; font-size: 1.05rem; }

/* ==================== SUMMARY ==================== */
.summary-header { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; border-bottom: 1px solid var(--panel-border); padding-bottom: 1.5rem; color: white; }
.summary-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.summary-item-detailed { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 1rem; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.95rem; }
.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 700; }
.summary-total { font-size: 2rem; font-weight: 800; color: var(--accent); display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--panel-border); text-shadow: 0 4px 15px rgba(234,179,8,0.2); }
.submit-btn { width: 100%; margin-top: 2rem; font-size: 1.2rem; padding: 1.25rem; }

/* ==================== MODAL ==================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: rgba(15,23,42,0.97); width: 90%; max-width: 550px; border-radius: 24px; padding: 3rem; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.6); transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.close-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; position: absolute; top: 1.5rem; left: 1.5rem; transition: color 0.3s; }
.close-btn:hover { color: var(--accent); }

/* ==================== FORM ==================== */
.form-group { margin-bottom: 1.8rem; }
.form-group label { display: block; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 1rem; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 1.25rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; color: white; font-size: 1.05rem; transition: all 0.3s; font-family: 'Tajawal', sans-serif; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.5); box-shadow: 0 0 0 3px rgba(234,179,8,0.2); }

/* ==================== ADMIN PANEL ==================== */
.admin-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--panel-border); padding-bottom: 1rem; flex-wrap: wrap; }
.tab-btn { background: none; border: none; color: var(--text-muted); font-size: 1rem; font-weight: 700; cursor: pointer; padding: 0.5rem 1.2rem; border-radius: 8px; transition: 0.3s; font-family: 'Tajawal', sans-serif; }
.tab-btn.active { color: white; background: rgba(59,130,246,0.2); }
.tab-btn:hover { color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.price-group { background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--panel-border); }
.price-group h3 { margin-bottom: 1rem; color: var(--accent); font-size: 1rem; }
.input-grp { margin-bottom: 1rem; }
.input-grp label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.input-grp input { width: 100%; padding: 0.75rem; background: var(--bg-color); border: 1px solid var(--panel-border); border-radius: 6px; color: white; font-family: monospace; font-size: 1.05rem; box-sizing: border-box; }
.filter-select { padding: 0.5rem 1rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; color: white; font-family: 'Tajawal', sans-serif; font-size: 0.95rem; cursor: pointer; }

/* ==================== DATA TABLE ==================== */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.data-table th, .data-table td { padding: 1rem 0.85rem; text-align: right; border-bottom: 1px solid var(--panel-border); }
.data-table th { color: var(--text-muted); font-weight: 700; font-size: 0.9rem; }
.data-table tbody tr { transition: background 0.2s; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.04); }

/* ==================== ORDER PANEL ==================== */
@keyframes slideInPanel { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.panel-section { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.2rem 1.4rem; }
.panel-section-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 0.8rem; font-weight: 700; }

/* ==================== WORKFLOW STEPPER ==================== */
.workflow-stepper { width: 100%; }
.stepper-track { display: flex; align-items: center; width: 100%; overflow-x: auto; padding-bottom: 0.5rem; gap: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; min-width: 65px; cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.step-item:hover { transform: translateY(-2px); }
.step-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.15); transition: all 0.3s; }
.step-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.3; max-width: 65px; }
.step-active .step-circle { border-width: 2px; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.step-done .step-circle { background: rgba(16,185,129,0.2); border-color: #10b981; color: #10b981; font-weight: 900; }
.step-done .step-label { color: #10b981; }
.step-connector { flex: 1; height: 2px; background: rgba(255,255,255,0.1); min-width: 12px; }
.step-connector.done { background: #10b981; }
.step-idle .step-circle { opacity: 0.5; }

/* ==================== QUOTE PAGE ==================== */
#quote-page { display: none; position: fixed; inset: 0; background: #0b1120; z-index: 800; overflow-y: auto; animation: fadeInPage 0.4s ease; }
@keyframes fadeInPage { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.quote-navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: rgba(11,17,32,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(234,179,8,0.2); position: sticky; top: 0; z-index: 10; gap: 1rem; flex-wrap: wrap; }
.quote-body { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

.quote-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); border: 1px solid rgba(234,179,8,0.25); border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.quote-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(234,179,8,0.08) 0%, transparent 70%); border-radius: 50%; }
.quote-hero-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; position: relative; }
.quote-logo-area { display: flex; align-items: center; gap: 1rem; }
.quote-logo-area img { height: 65px; mix-blend-mode: screen; }
.quote-company-name { font-size: 1.4rem; font-weight: 900; color: #eab308; letter-spacing: 1px; }
.quote-company-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.quote-meta { text-align: left; }
.quote-title { font-size: 1.7rem; font-weight: 800; color: #eab308; margin-bottom: 0.5rem; }
.quote-ref { font-size: 0.9rem; color: var(--text-muted); }
.quote-ref strong { color: white; font-family: monospace; font-size: 1rem; }
.quote-date-badge { display: inline-block; background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.3); color: #eab308; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.85rem; margin-top: 0.5rem; }
.validity-badge { display: inline-block; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; margin-top: 0.4rem; }

.quote-section-title { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.quote-client-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.5rem; margin-bottom: 2rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.client-info-item { display: flex; flex-direction: column; gap: 0.3rem; }
.client-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.client-val { font-size: 1.15rem; font-weight: 700; color: white; }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.spec-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.2rem; transition: border-color 0.3s; }
.spec-card:hover { border-color: rgba(234,179,8,0.3); }
.spec-icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.spec-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.spec-val { font-size: 1.05rem; font-weight: 700; color: white; }

.quote-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }
.quote-table thead tr { background: linear-gradient(90deg, #1e293b, #0f1f3d); }
.quote-table th { padding: 1rem 1.2rem; color: var(--text-muted); font-size: 0.85rem; text-align: right; font-weight: 600; letter-spacing: 0.5px; }
.quote-table th:last-child { text-align: left; }
.quote-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.2s; }
.quote-table td { padding: 1rem 1.2rem; font-size: 0.95rem; }
.quote-table td:last-child { text-align: left; font-family: monospace; font-size: 1rem; color: #93c5fd; font-weight: 600; }
.qt-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 5px; font-size: 0.78rem; font-weight: 700; background: rgba(234,179,8,0.15); color: #eab308; }
.qt-desc { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.3rem; }

.quote-total-box { background: linear-gradient(135deg, rgba(234,179,8,0.1), rgba(234,179,8,0.04)); border: 2px solid rgba(234,179,8,0.35); border-radius: 16px; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.total-label { font-size: 1rem; color: var(--text-muted); }
.total-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }
.total-amount { font-size: 2.4rem; font-weight: 900; color: #eab308; font-family: monospace; letter-spacing: -1px; }
.total-currency { font-size: 1rem; color: #eab308; opacity: 0.7; margin-right: 5px; }

/* ==================== TERMS & CONDITIONS ==================== */
.terms-section { background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2rem; margin-bottom: 2rem; }
.terms-header { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; font-weight: 800; color: white; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.terms-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 1.1rem; }
.terms-item-title { font-weight: 700; font-size: 0.9rem; color: #e2e8f0; margin-bottom: 0.5rem; }
.terms-item-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.terms-item-body strong { color: #cbd5e1; }
.terms-footer { font-size: 0.82rem; color: var(--text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }

/* ==================== QUOTE ACTIONS ==================== */
.quote-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-back { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: white; padding: 0.85rem 1.8rem; border-radius: 10px; font-size: 1rem; font-family: 'Tajawal', sans-serif; cursor: pointer; transition: 0.3s; font-weight: 600; }
.btn-back:hover { background: rgba(255,255,255,0.15); }
.btn-print { background: linear-gradient(135deg, #eab308, #ca8a04); border: none; color: #0f172a; padding: 0.85rem 1.8rem; border-radius: 10px; font-size: 1rem; font-family: 'Tajawal', sans-serif; cursor: pointer; transition: 0.3s; font-weight: 800; }
.btn-print:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(234,179,8,0.4); }

.quote-footer { text-align: center; padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.quote-footer strong { color: white; }

/* ==================== PRINT ==================== */
@media print {
  #quote-page .quote-navbar, #quote-page .quote-actions, #quote-submission-area, #quote-saved-area { display: none !important; }
  #quote-page { position: static; height: auto; overflow: visible; background: #0f172a !important; color: white !important; }
  
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  main { flex-direction: column; padding: 2rem 1rem; }
  .summary-panel { position: static; }
  .navbar { grid-template-columns: auto 1fr; }
  .nav-placeholder { display: none; }
  .logo { grid-column: 1; align-items: flex-start; }
  .nav-links { grid-column: 2; }
}
@media (max-width: 640px) {
  .quote-hero-top { flex-direction: column; }
  .quote-meta { text-align: right; }
  .stepper-track { gap: 0; }
  .step-circle { width: 32px; height: 32px; font-size: 0.9rem; }
  #order-panel { max-width: 100%; }
}
