/* ============================================================
   ZL TOURS — Guide Pages Stylesheet (guide.css)
   Covers: guide-apply.html, guide-profile.html, guide-dashboard.html
   Brand: Cream #F9F5EE | Dark Teal #004F6C | Gold #E6B563
          Brown #996230 | Teal #00ABC7
   Direction: RTL Arabic
   ============================================================ */

:root {
  --cream: #F9F5EE;
  --dark-green: #004F6C;
  --gold: #E6B563;
  --dark-red: #996230;
  --green: #00ABC7;
  --cream-dark: #EDE5CF;
  --black: #0d0d0d;
  --text-dark: #1a1a1a;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-arabic: 'Tajawal', sans-serif;
}

/* ==================== SHARED LAYOUT ==================== */
.guide-page {
  background: var(--cream);
  min-height: 100vh;
  font-family: var(--font-arabic);
  color: var(--text-dark);
}

/* ==================== NAVBAR ==================== */
.g-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-green);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.g-navbar .nav-logo img { height: 44px; width: auto; }
.g-navbar .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.g-navbar .nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  opacity: 0.85;
}
.g-navbar .nav-links a:hover { color: var(--gold); opacity: 1; }
.g-navbar .nav-links .btn-nav-gold {
  background: var(--gold);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  opacity: 1;
}
.g-navbar .nav-links .btn-nav-gold:hover { background: #c07015; }

/* ==================== HERO SECTION ==================== */
.guide-hero {
  background: var(--dark-green);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(230,181,99,0.15) 0%, transparent 70%);
}
.guide-hero .hero-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}
.guide-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 16px;
  position: relative;
}
.guide-hero h1 span { color: var(--gold); }
.guide-hero p {
  color: rgba(238,232,213,0.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ==================== CARDS & CONTAINERS ==================== */
.guide-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.guide-container.wide { max-width: 1200px; }

.g-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}
.g-card h3 {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--cream);
  padding-bottom: 14px;
}
.g-card h3 i { color: var(--gold); }

/* ==================== FORM ELEMENTS ==================== */
.g-form-group {
  margin-bottom: 20px;
}
.g-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-green);
  margin-bottom: 7px;
}
.g-form-group label .req { color: var(--dark-red); margin-right: 2px; }

.g-form-group input[type="text"],
.g-form-group input[type="email"],
.g-form-group input[type="tel"],
.g-form-group input[type="number"],
.g-form-group input[type="url"],
.g-form-group input[type="file"],
.g-form-group select,
.g-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d8d0bc;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fdfaf5;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.g-form-group input:focus,
.g-form-group select:focus,
.g-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230,181,99,0.12);
}
.g-form-group input.error,
.g-form-group select.error,
.g-form-group textarea.error {
  border-color: var(--dark-red);
}
.g-form-group textarea {
  resize: vertical;
  min-height: 100px;
  display: block;
  line-height: 1.65;
  vertical-align: top;
}
.g-form-group .field-hint {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}

/* Radio & Checkbox Groups */
.radio-group, .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.radio-option, .check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 9px 16px;
  border: 1.5px solid #d8d0bc;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  background: #fdfaf5;
  color: var(--text-dark);
  user-select: none;
}
.radio-option input, .check-option input { display: none; }
.radio-option:has(input:checked),
.check-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(230,181,99,0.08);
  color: var(--dark-green);
  font-weight: 700;
}
.radio-option:hover, .check-option:hover {
  border-color: var(--gold);
}

/* File Upload */
.file-upload-area {
  border: 2px dashed #d8d0bc;
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fdfaf5;
}
.file-upload-area:hover { border-color: var(--gold); }
.file-upload-area i { font-size: 2rem; color: var(--gold); margin-bottom: 8px; display: block; }
.file-upload-area span { font-size: 0.88rem; color: #666; }
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-wrap { position: relative; }
.file-name-display {
  font-size: 0.8rem;
  color: var(--green);
  margin-top: 6px;
  font-weight: 600;
}

/* ==================== TERMS CARD ==================== */
.terms-card {
  background: rgba(0,39,54,0.04);
  border: 1.5px solid rgba(0,39,54,0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.terms-card h4 {
  color: var(--dark-green);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.terms-card h4 i { color: var(--gold); }
.terms-summary {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.terms-summary ul { padding-right: 16px; list-style: disc; }
.terms-summary li { margin-bottom: 6px; }

/* ==================== MODAL ==================== */
.g-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.g-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.g-modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s;
  overflow: hidden;
}
.g-modal-overlay.active .g-modal {
  transform: translateY(0);
}
.g-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-green);
}
.g-modal-header h3 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.g-modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.g-modal-close:hover { background: rgba(255,255,255,0.3); }
.g-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.agreement-text {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-dark);
}
.agreement-text h4 {
  color: var(--dark-green);
  font-weight: 700;
  margin: 20px 0 8px;
  font-size: 1rem;
}
.agreement-text ul {
  padding-right: 20px;
  list-style: disc;
}
.agreement-text li { margin-bottom: 6px; }

/* ==================== CHECKBOX AGREE ==================== */
.agree-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(46,125,82,0.06);
  border: 1.5px solid rgba(46,125,82,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.agree-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--green);
  margin-top: 2px;
  cursor: pointer;
}
.agree-checkbox span {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
}

/* ==================== SUBMIT BUTTON ==================== */
.g-submit-btn {
  background: var(--dark-green);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.g-submit-btn:hover { background: #004F6C; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,39,54,0.3); }
.g-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.g-submit-btn i { font-size: 1.1rem; }

/* ==================== SUCCESS MESSAGE ==================== */
.success-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-card .success-icon {
  width: 80px;
  height: 80px;
  background: rgba(46,125,82,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-card .success-icon i { font-size: 2.5rem; color: var(--green); }
.success-card h2 { font-family: var(--font-arabic); color: var(--dark-green); margin-bottom: 12px; }
.success-card p { color: #666; line-height: 1.8; }

/* ==================== PROGRESS BAR ==================== */
.upload-progress {
  margin-top: 12px;
  background: #e0d9cc;
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
  display: none;
}
.upload-progress.active { display: block; }
.upload-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 20px;
  transition: width 0.4s;
  width: 0%;
}

/* ==================== GUIDE PROFILE PAGE ==================== */
.profile-hero {
  background: var(--dark-green);
  padding: 60px 32px 40px;
  position: relative;
  overflow: hidden;
}
.profile-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.profile-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 32px;
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.profile-verified {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
}
.profile-verified i { font-size: 0.8rem; color: white; }
.profile-hero-info { flex: 1; padding-bottom: 8px; }
.profile-hero-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
  margin-bottom: 8px;
}
.profile-specialty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.profile-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(238,232,213,0.9);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
}
.profile-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}
.profile-stars .star { color: var(--gold); font-size: 1rem; }
.profile-stars .star.empty { color: rgba(255,255,255,0.3); }
.profile-stars span { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-right: 6px; }

/* Stats Bar */
.profile-stats-bar {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  overflow: hidden;
}
.stat-item {
  padding: 20px;
  text-align: center;
  border-left: 1px solid var(--cream);
  transition: background 0.2s;
}
.stat-item:last-child { border-left: none; }
.stat-item:hover { background: rgba(230,181,99,0.04); }
.stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark-green);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.pkg-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-card-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}
.pkg-card-body { padding: 18px; }
.pkg-card-title {
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 6px;
  font-size: 1rem;
}
.pkg-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 14px;
}
.pkg-card-meta span { display: flex; align-items: center; gap: 4px; }
.pkg-card-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
}
.pkg-card-price small { font-size: 0.75rem; color: #888; font-weight: 400; }
.btn-book {
  display: block;
  width: 100%;
  background: var(--dark-green);
  color: white;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-arabic);
}
.btn-book:hover { background: #004F6C; }

/* Reviews */
.review-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.review-item {
  background: #fdfaf5;
  border-radius: var(--radius-sm);
  padding: 18px;
  border-right: 4px solid var(--gold);
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.reviewer-name { font-weight: 700; color: var(--dark-green); }
.review-date { font-size: 0.78rem; color: #aaa; }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-size: 0.9rem; color: #555; line-height: 1.7; }

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-arabic);
  margin-top: 16px;
  transition: background 0.2s;
}
.btn-write-review:hover { background: #c07015; }

/* Star Rating Input */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  margin: 8px 0;
}
.star-rating-input input { display: none; }
.star-rating-input label {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: var(--gold);
}

/* Profile CTA */
.profile-cta {
  background: var(--dark-green);
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}
.profile-cta h2 { font-family: var(--font-heading); color: var(--cream); font-size: 2rem; margin-bottom: 8px; }
.profile-cta p { color: rgba(238,232,213,0.7); margin-bottom: 28px; }
.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: white;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cta-gold:hover { background: #c07015; transform: translateY(-3px); }

/* ==================== GUIDE DASHBOARD ==================== */
.gdash-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.gdash-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--dark-green);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.gdash-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gdash-sidebar-logo img { height: 48px; filter: brightness(0) invert(1); }
.gdash-sidebar-user {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gdash-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.gdash-user-info .user-name {
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.gdash-user-info .user-status {
  font-size: 0.72rem;
  color: rgba(238,232,213,0.6);
}
.gdash-nav { padding: 16px 0; flex: 1; }
.gdash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  color: rgba(238,232,213,0.7);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: right;
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  border-right: 3px solid transparent;
}
.gdash-nav-item:hover { background: rgba(255,255,255,0.06); color: white; }
.gdash-nav-item.active {
  background: rgba(230,181,99,0.15);
  color: var(--gold);
  border-right-color: var(--gold);
  font-weight: 700;
}
.gdash-nav-item i { width: 18px; text-align: center; font-size: 0.95rem; }
.gdash-sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.btn-logout-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: rgba(139,32,32,0.25);
  color: rgba(238,232,213,0.8);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-logout-guide:hover { background: rgba(139,32,32,0.5); color: white; }

/* Main Content */
.gdash-main {
  flex: 1;
  background: #f5f0e8;
  overflow-y: auto;
}
.gdash-topbar {
  background: white;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.gdash-topbar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-green);
}
.hamburger-guide {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--dark-green);
  cursor: pointer;
  margin-left: 12px;
}

.gdash-tab-content { display: none; padding: 28px; }
.gdash-tab-content.active { display: block; }

/* Profile Completeness */
.completeness-bar {
  background: #e0d9cc;
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.completeness-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 20px;
  transition: width 0.8s ease;
}

/* Packages Status Badges */
.pkg-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pkg-status.pending { background: rgba(230,181,99,0.1); color: #b8701a; }
.pkg-status.approved { background: rgba(46,125,82,0.1); color: var(--green); }
.pkg-status.rejected { background: rgba(139,32,32,0.1); color: var(--dark-red); }

/* Add Package Form */
.add-pkg-form {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  display: none;
}
.add-pkg-form.open { display: block; }

/* Bookings Table */
.gdash-table-wrap { overflow-x: auto; }
.gdash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.gdash-table th {
  background: var(--dark-green);
  color: white;
  padding: 12px 16px;
  text-align: right;
  font-weight: 600;
  font-size: 0.82rem;
}
.gdash-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #eee;
  color: var(--text-dark);
}
.gdash-table tr:hover td { background: #fdfaf5; }

/* Marketing Section */
.promo-link-box {
  background: var(--dark-green);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.promo-link-box h4 { color: var(--gold); margin-bottom: 12px; font-size: 0.95rem; }
.promo-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex-wrap: wrap;
}
.promo-link-text {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(238,232,213,0.85);
  word-break: break-all;
  direction: ltr;
  text-align: left;
}
.btn-copy {
  background: var(--gold);
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-copy:hover { background: #c07015; }
.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebc58; }

.discount-box {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.discount-box h4 { color: var(--dark-green); font-size: 0.95rem; margin-bottom: 16px; }
.range-slider {
  width: 100%;
  accent-color: var(--gold);
  height: 4px;
  margin: 8px 0;
}
.range-value {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.btn-activate {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-activate:hover { background: #004F6C; }

.marketing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.m-stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.m-stat-value { font-size: 1.8rem; font-weight: 900; color: var(--dark-green); }
.m-stat-label { font-size: 0.78rem; color: #888; margin-top: 4px; }

/* Login Screen */
.guide-login-wrap {
  min-height: 100vh;
  background: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.guide-login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.guide-login-card img { height: 60px; margin: 0 auto 24px; }
.guide-login-card h2 { color: var(--dark-green); font-size: 1.5rem; margin-bottom: 6px; font-family: var(--font-arabic); }
.guide-login-card p { color: #888; font-size: 0.9rem; margin-bottom: 28px; }

/* Buttons */
.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-g-gold { background: var(--gold); color: white; }
.btn-g-gold:hover { background: #c07015; }
.btn-g-green { background: var(--green); color: white; }
.btn-g-green:hover { background: #004F6C; }
.btn-g-outline {
  background: transparent;
  color: var(--dark-green);
  border: 1.5px solid var(--dark-green);
}
.btn-g-outline:hover { background: var(--dark-green); color: white; }
.btn-g-sm { padding: 7px 16px; font-size: 0.82rem; }

/* Sections headers */
.gdash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.gdash-section-header h2 {
  font-family: var(--font-arabic);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-green);
  margin: 0;
}

/* Package list */
.pkg-list { display: flex; flex-direction: column; gap: 14px; }
.pkg-list-item {
  background: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.pkg-list-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.pkg-list-info { flex: 1; }
.pkg-list-name { font-weight: 700; color: var(--dark-green); margin-bottom: 4px; }
.pkg-list-meta { font-size: 0.8rem; color: #888; }
.pkg-list-actions { display: flex; gap: 8px; }

/* Toast */
.g-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark-green);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 9999;
  transition: transform 0.4s;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}
.g-toast.show { transform: translateX(-50%) translateY(0); }
.g-toast.success { background: var(--green); }
.g-toast.error { background: var(--dark-red); }
.g-toast.info { background: #2563eb; }

/* Footer */
.guide-footer {
  background: var(--dark-green);
  color: rgba(238,232,213,0.7);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}
.guide-footer a { color: var(--gold); text-decoration: none; }

/* Includes Checkboxes */
.includes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.include-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #d8d0bc;
  border-radius: 16px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s;
}
.include-chip input { display: none; }
.include-chip:has(input:checked) {
  border-color: var(--green);
  background: rgba(46,125,82,0.08);
  color: var(--green);
  font-weight: 700;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .g-navbar { padding: 0 16px; }
  .guide-hero { padding: 50px 16px; }
  .guide-container { padding: 24px 16px 60px; }
  .g-card { padding: 20px; }
  .profile-hero-inner { flex-direction: column; align-items: flex-start; }
  .profile-avatar { width: 90px; height: 90px; }
  .profile-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-left: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--cream); }
  .gdash-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    z-index: 500;
    transition: left 0.3s;
    height: 100%;
  }
  .gdash-sidebar.open { left: 0; }
  .gdash-main { width: 100%; }
  .hamburger-guide { display: block; }
  .gdash-tab-content { padding: 16px; }
  .marketing-stats-grid { grid-template-columns: 1fr 1fr; }
  .promo-link-row { flex-direction: column; align-items: stretch; }
  .profile-hero { padding: 40px 16px 30px; }
  .guide-login-card { padding: 32px 24px; }
}
