/* =============================================
   KUCHET — Main Stylesheet
   Color System: Kuchet Brand
   ============================================= */

:root {
  --primary:        #083A5B;
  --primary-light:  #1687C8;
  --accent:         #16B8A6;
  --success:        #18A878;
  --warning:        #F4A62A;
  --error:          #E5484D;
  --bg:             #F7FAFC;
  --card:           #FFFFFF;
  --text:           #102A43;
  --text-muted:     #627D98;
  --border:         #E2EBF0;
  --shadow:         0 2px 12px rgba(8,58,91,0.08);
  --shadow-lg:      0 8px 32px rgba(8,58,91,0.14);
  --radius:         10px;
  --radius-lg:      16px;
  --transition:     0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===================== UTILITIES ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-white { color: #fff; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.p-1{padding:8px}.p-2{padding:16px}.p-3{padding:24px}.p-4{padding:32px}
.hidden { display: none !important; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 50%; }

/* ===================== GRID ===================== */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===================== TYPOGRAPHY ===================== */
h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 48px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #12a394; border-color: #12a394; color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-danger  { background: var(--error); color: #fff; border-color: var(--error); }
.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

/* ===================== NAVBAR ===================== */
.navbar {
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  position: sticky; top: 0; z-index: 1000;
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.5px;
}
.navbar-brand .brand-dot { color: var(--accent); }
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-nav a {
  padding: 8px 14px; border-radius: var(--radius);
  color: var(--text); font-weight: 500; font-size: 0.93rem;
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { background: var(--bg); color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-icon-btn {
  position: relative; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: none; background: var(--bg);
  color: var(--text-muted); cursor: pointer; transition: all var(--transition);
  font-size: 1.05rem;
}
.navbar-icon-btn:hover { background: var(--border); color: var(--primary); }
.badge-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--error); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.avatar-sm {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
}
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px; z-index: 999;
  display: none; animation: dropIn 0.18s ease;
}
.dropdown.open .dropdown-menu { display: block; }
@keyframes dropIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: translateY(0); } }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; color: var(--text);
  font-weight: 500; font-size: 0.9rem; cursor: pointer;
  transition: background var(--transition);
}
.dropdown-item:hover { background: var(--bg); }
.dropdown-divider { border-top: 1px solid var(--border); margin: 6px 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d5080 50%, var(--primary-light) 100%);
  color: #fff; padding: 90px 20px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(22,184,166,0.2); border: 1px solid rgba(22,184,166,0.4); color: var(--accent); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tracking { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 32px; }
.hero-tracking h3 { color: #fff; margin-bottom: 16px; }
.tracking-form { display: flex; gap: 10px; }
.tracking-form input { flex: 1; padding: 12px 16px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.15); color: #fff; font-size: 1rem; }
.tracking-form input::placeholder { color: rgba(255,255,255,0.6); }

/* ===================== STATS BAR ===================== */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 28px 20px; }
.stats-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 24px; }
.stat-item { text-align: center; }
.stat-item .number { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; }
.stat-item .label { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 20px; }
.section-white { background: #fff; }
.section-header { text-align: center; margin-bottom: 56px; }

/* ===================== CARDS ===================== */
.card {
  background: var(--card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg); }

/* How it works */
.how-step { text-align: center; padding: 32px 24px; }
.step-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; }
.step-icon.blue   { background: rgba(22,135,200,0.1); color: var(--primary-light); }
.step-icon.teal   { background: rgba(22,184,166,0.1); color: var(--accent); }
.step-icon.green  { background: rgba(24,168,120,0.1); color: var(--success); }
.step-icon.orange { background: rgba(244,166,42,0.1); color: var(--warning); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.how-step h4 { color: var(--primary); font-size: 1.05rem; margin-bottom: 10px; }

/* Feature cards */
.feature-card { padding: 32px; }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; background: linear-gradient(135deg, var(--primary-light), var(--accent)); color: #fff; }
.feature-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; color: var(--text); font-size: 0.9rem; margin-bottom: 7px; }
.form-label .req { color: var(--error); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff; color: var(--text); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(22,135,200,0.12); }
.form-control::placeholder { color: #aab8c2; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.83rem; color: var(--error); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox], .form-check input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }

/* ===================== ALERTS ===================== */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; font-size: 0.93rem; }
.alert i { margin-top: 2px; flex-shrink: 0; font-size: 1rem; }
.alert-success { background: rgba(24,168,120,0.1); color: #0f7a56; border: 1px solid rgba(24,168,120,0.25); }
.alert-error   { background: rgba(229,72,77,0.1);  color: #b91c1c; border: 1px solid rgba(229,72,77,0.25); }
.alert-warning { background: rgba(244,166,42,0.1); color: #92400e; border: 1px solid rgba(244,166,42,0.25); }
.alert-info    { background: rgba(22,135,200,0.1); color: var(--primary); border: 1px solid rgba(22,135,200,0.25); }

/* ===================== BADGES ===================== */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.badge-primary   { background: rgba(8,58,91,0.1);    color: var(--primary); }
.badge-secondary { background: rgba(98,125,152,0.1); color: var(--text-muted); }
.badge-success   { background: rgba(24,168,120,0.12); color: var(--success); }
.badge-warning   { background: rgba(244,166,42,0.12); color: #92400e; }
.badge-error     { background: rgba(229,72,77,0.12);  color: var(--error); }
.badge-info      { background: rgba(22,135,200,0.12); color: var(--primary-light); }
.badge-accent    { background: rgba(22,184,166,0.12); color: var(--accent); }

/* ===================== TABLES ===================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: #fff; }
thead tr { background: var(--bg); }
th { padding: 13px 16px; text-align: left; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.92rem; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--bg); }
.td-actions { display: flex; gap: 6px; }

/* ===================== DASHBOARD ===================== */
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; align-items: center; gap: 18px; }
.stat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-icon.blue   { background: rgba(22,135,200,0.1); color: var(--primary-light); }
.stat-icon.teal   { background: rgba(22,184,166,0.1); color: var(--accent); }
.stat-icon.green  { background: rgba(24,168,120,0.1); color: var(--success); }
.stat-icon.orange { background: rgba(244,166,42,0.1); color: var(--warning); }
.stat-icon.red    { background: rgba(229,72,77,0.1); color: var(--error); }
.stat-label { font-size: 0.83rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.stat-change { font-size: 0.8rem; color: var(--success); font-weight: 600; margin-top: 2px; }

/* ===================== TIMELINE (tracking) ===================== */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -28px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--border); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot.done  { background: var(--success); box-shadow: 0 0 0 2px rgba(24,168,120,0.3); }
.timeline-dot.active{ background: var(--primary-light); box-shadow: 0 0 0 2px rgba(22,135,200,0.3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 2px rgba(22,135,200,0.3)} 50%{box-shadow:0 0 0 6px rgba(22,135,200,0.1)} }
.timeline-content { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.timeline-time { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* ===================== TRAVELER CARD ===================== */
.traveler-card { padding: 24px; display: flex; gap: 16px; }
.traveler-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.traveler-info h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.stars { display: inline-flex; gap: 2px; }
.stars .fa-star { font-size: 0.85rem; }
.text-warning { color: var(--warning) !important; }

/* ===================== MESSAGES ===================== */
.messages-layout { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 68px); overflow: hidden; }
.conv-list { border-right: 1px solid var(--border); overflow-y: auto; background: #fff; }
.conv-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition); }
.conv-item:hover, .conv-item.active { background: var(--bg); }
.conv-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; color: var(--text); font-size: 0.93rem; }
.conv-last { color: var(--text-muted); font-size: 0.83rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { text-align: right; }
.conv-time { font-size: 0.75rem; color: var(--text-muted); }
.chat-area { display: flex; flex-direction: column; }
.chat-header { padding: 16px 24px; border-bottom: 1px solid var(--border); background: #fff; display: flex; align-items: center; gap: 14px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.msg-bubble { max-width: 65%; }
.msg-bubble .msg-text { padding: 11px 16px; border-radius: 18px; font-size: 0.92rem; line-height: 1.5; }
.msg-out .msg-text { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-in .msg-text  { background: #fff; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg-out { align-self: flex-end; }
.msg-in  { align-self: flex-start; }
.msg-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.msg-out .msg-time { text-align: right; }
.chat-input { padding: 16px 24px; background: #fff; border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-end; }
.chat-input textarea { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); resize: none; max-height: 100px; font-size: 0.93rem; outline: none; }
.chat-input textarea:focus { border-color: var(--primary-light); }

/* ===================== FOOTER ===================== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 56px 20px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h2 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.social-link:hover { background: var(--accent); color: #fff; }

/* ===================== PAGE HEADER ===================== */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, #0d5080 100%); color: #fff; padding: 40px 20px; margin-bottom: 32px; }
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { color: #fff; font-size: 1.8rem; }
.page-header p { color: rgba(255,255,255,0.75); margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.breadcrumb .current { color: rgba(255,255,255,0.9); font-size: 0.85rem; }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 24px 0; }
.page-link { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1.5px solid var(--border); color: var(--text); font-size: 0.9rem; transition: all var(--transition); }
.page-link:hover, .page-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ===================== MODAL ===================== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.95) translateY(16px); transition: transform 0.22s; }
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.05rem; }
.modal-close { width: 32px; height: 32px; border: none; background: var(--bg); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1rem; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ===================== SHIPMENT CARD ===================== */
.shipment-card { padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.route-display { display: flex; align-items: center; gap: 10px; }
.route-city { font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.route-arrow { color: var(--accent); font-size: 1rem; }

/* ===================== TRACKING PAGE ===================== */
.tracking-hero { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 60px 20px; text-align: center; }
.tracking-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.tracking-hero p { color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.tracking-box { max-width: 560px; margin: 0 auto; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-lg); padding: 28px; }
.tracking-box form { display: flex; gap: 10px; }
.tracking-box input { flex: 1; padding: 13px 18px; border-radius: var(--radius); border: none; background: rgba(255,255,255,0.95); font-size: 1rem; outline: none; }

/* ===================== PHOTO GRID ===================== */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.photo-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-item:hover img { transform: scale(1.06); }

/* ===================== OFFER CARD ===================== */
.offer-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.offer-traveler { display: flex; align-items: center; gap: 14px; }
.offer-price { font-size: 1.4rem; font-weight: 800; color: var(--primary); }

/* ===================== PROFILE ===================== */
.profile-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 40px 24px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; text-align: center; color: #fff; }
.profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: 16px; }
.profile-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,0.3); }
.avatar-edit-btn { position: absolute; bottom: 0; right: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; border: 2px solid #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.kyc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-top: 10px; }
.kyc-verified { background: rgba(24,168,120,0.2); color: #fff; border: 1px solid rgba(24,168,120,0.4); }
.kyc-pending   { background: rgba(244,166,42,0.2); color: #fff; border: 1px solid rgba(244,166,42,0.4); }

/* ===================== PAYMENT ===================== */
.payment-summary { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.payment-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.payment-row:last-child { border-bottom: none; font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.payment-method { padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; text-align: center; transition: all var(--transition); }
.payment-method:hover, .payment-method.selected { border-color: var(--primary-light); background: rgba(22,135,200,0.05); }
.payment-method i { font-size: 1.6rem; color: var(--primary-light); margin-bottom: 8px; display: block; }

/* ===================== EMPTY STATE ===================== */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-icon { font-size: 3.5rem; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; }

/* ===================== NOTIFICATION PANEL ===================== */
.notif-panel { max-height: 420px; overflow-y: auto; }
.notif-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); transition: background var(--transition); cursor: pointer; }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: rgba(22,135,200,0.04); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); flex-shrink: 0; margin-top: 6px; }
.notif-dot.read { background: transparent; }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.notif-icon.success { background: rgba(24,168,120,0.1); color: var(--success); }
.notif-icon.info    { background: rgba(22,135,200,0.1); color: var(--primary-light); }
.notif-icon.warning { background: rgba(244,166,42,0.1); color: var(--warning); }
.notif-icon.error   { background: rgba(229,72,77,0.1);  color: var(--error); }
.notif-title { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.notif-msg   { font-size: 0.83rem; color: var(--text-muted); margin-top: 2px; }
.notif-time  { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ===================== REVIEW ===================== */
.review-card { padding: 20px; }
.review-rating { display: flex; gap: 4px; margin-bottom: 10px; }
.star-input { font-size: 1.6rem; cursor: pointer; color: var(--border); transition: color var(--transition); }
.star-input.active, .star-input:hover { color: var(--warning); }

/* ===================== SCROLL BAR ===================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px; gap: 4px; z-index: 999; }
  .messages-layout { grid-template-columns: 1fr; }
  .conv-list { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 20px; }
  .payment-methods { grid-template-columns: 1fr; }
  .hero-tracking { display: none; }
  .tracking-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
  .hero h1 { font-size: 1.8rem; }
}
