/* SkillDZ – Main Stylesheet
   Direction: RTL | Arabic-first
   Palette: Forest Green #1B5E20, Golden #F9A825, White, Light Grey
*/

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

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  --green-dark:    #1B5E20;
  --green-mid:     #2E7D32;
  --green-light:   #4CAF50;
  --green-pale:    #E8F5E9;
  --gold:          #F9A825;
  --gold-dark:     #E65100;
  --gold-light:    #FFF9C4;
  --white:         #FFFFFF;
  --grey-50:       #FAFAFA;
  --grey-100:      #F5F5F5;
  --grey-200:      #EEEEEE;
  --grey-400:      #BDBDBD;
  --grey-600:      #757575;
  --grey-800:      #424242;
  --text-main:     #1A1A1A;
  --text-muted:    #616161;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(27,94,32,.12);
  --shadow-lg:  0 8px 32px rgba(27,94,32,.18);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --font-primary: 'Cairo', sans-serif;
  --font-body:    'Tajawal', sans-serif;

  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--grey-50);
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar-skilldz {
  background: var(--green-dark);
  padding: 0.65rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-skilldz .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-skilldz .brand-logo {
  height: 44px;
  width: auto;
}

.navbar-skilldz .brand-name {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar-skilldz .brand-name span { color: var(--gold); }

.navbar-skilldz .nav-link {
  color: rgba(255,255,255,.88) !important;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar-skilldz .nav-link:hover,
.navbar-skilldz .nav-link.active {
  color: var(--gold) !important;
  background: rgba(249,168,37,.12);
}

.navbar-skilldz .btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-primary);
  font-weight: 700;
  border: none;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar-skilldz .btn-gold:hover {
  background: #FFD54F;
  transform: translateY(-1px);
}

.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon { filter: invert(1); }

/* User avatar in navbar */
.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* ─── Hero Section ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #1B5E20 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  color: var(--white);
}

.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.04'%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-content { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .highlight { color: var(--gold); }

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-search {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 580px;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  direction: rtl;
}

.hero-search button {
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.hero-search button:hover { background: #FFD54F; transform: scale(1.03); }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ─── Section Titles ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  border-right: 3px solid var(--gold);
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.section-line {
  width: 48px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.card-skilldz {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.card-skilldz:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-light);
}

/* Artisan Card */
.artisan-card {
  display: flex;
  flex-direction: column;
}

.artisan-card-top {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.artisan-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.artisan-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-align: center;
}

.artisan-profession {
  background: rgba(249,168,37,.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-family: var(--font-primary);
}

.artisan-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
}

.artisan-location {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.artisan-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artisan-card-footer {
  padding: 0.75rem 1.25rem;
  background: var(--grey-50);
  border-top: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verified-badge {
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-primary);
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Post Card */
.post-card .post-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.post-card .post-body { padding: 1rem; }

.post-card .post-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .post-price {
  color: var(--green-dark);
  font-weight: 700;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.post-card .post-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--grey-200);
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.action-btn:hover { background: var(--grey-100); color: var(--green-dark); }
.action-btn.liked { color: #E53935; }

/* Category Cards */
.category-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon { font-size: 2.2rem; margin-bottom: 0.5rem; display: block; }

.category-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-green {
  background: var(--green-mid);
  color: var(--white);
  border: none;
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }

.btn-gold-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold-outline:hover { background: var(--gold); color: var(--green-dark); }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-skilldz label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grey-800);
  margin-bottom: 0.3rem;
  display: block;
}

.form-skilldz input,
.form-skilldz select,
.form-skilldz textarea {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition);
  direction: rtl;
}

.form-skilldz input:focus,
.form-skilldz select:focus,
.form-skilldz textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}

.form-skilldz .form-error {
  color: #C62828;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.form-skilldz .form-error.visible { display: block; }

/* ─── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.auth-logo img { height: 70px; width: auto; margin-bottom: 0.5rem; }

.auth-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green-dark);
  text-align: center;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  color: var(--grey-400);
  font-size: 0.85rem;
}

.divider-or::before,
.divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}

.btn-google {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition);
}

.btn-google:hover { background: var(--grey-50); border-color: var(--grey-400); }

/* ─── Profile Page ───────────────────────────────────────────── */
.profile-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 3rem 0 5rem;
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.profile-verified {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.profile-name {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}

.profile-info-card {
  margin-top: -3rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}

/* ─── Dashboard ──────────────────────────────────────────────── */
.dashboard-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  margin-bottom: 0.25rem;
  text-decoration: none;
}

.sidebar-link:hover { background: var(--green-pale); color: var(--green-dark); }
.sidebar-link.active { background: var(--green-dark); color: var(--white); }
.sidebar-link .icon { font-size: 1.1rem; min-width: 20px; }

.stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-right: 4px solid var(--green-mid);
}

.stat-box.gold { border-color: var(--gold); }

.stat-num {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-primary);
}

/* ─── Upload Area ────────────────────────────────────────────── */
.upload-area {
  border: 2px dashed var(--grey-400);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--grey-50);
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--green-mid);
  background: var(--green-pale);
}

.upload-area .upload-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.upload-preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}

.upload-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.upload-remove {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0,0,0,.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* ─── Progress Bar ───────────────────────────────────────────── */
.upload-progress {
  height: 4px;
  background: var(--grey-200);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ─── Gallery Grid ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ─── Empty State ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-family: var(--font-primary); color: var(--grey-600); margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Pagination ─────────────────────────────────────────────── */
.btn-load-more {
  display: block;
  margin: 2rem auto;
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green-mid);
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 0.65rem 2.5rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-load-more:hover { background: var(--green-dark); color: var(--white); }

/* ─── Alerts ─────────────────────────────────────────────────── */
.alert-skilldz {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: none;
}

.alert-skilldz.visible { display: flex; }
.alert-success { background: var(--green-pale); color: var(--green-dark); }
.alert-error { background: #FFEBEE; color: #C62828; }
.alert-info { background: #E3F2FD; color: #1565C0; }
.alert-warning { background: var(--gold-light); color: #E65100; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer-skilldz {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
}

.footer-brand-name {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
}

.footer-brand-name span { color: var(--gold); }

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ─── Utility Classes ────────────────────────────────────────── */
.text-green { color: var(--green-dark); }
.text-gold { color: var(--gold-dark); }
.bg-green-pale { background: var(--green-pale); }
.font-primary { font-family: var(--font-primary); }

.section-pad { padding: 4rem 0; }
.section-pad-sm { padding: 2.5rem 0; }

/* ─── Loading Spinner ────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.page-loader.hidden { opacity: 0; pointer-events: none; }

.loader-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Skeleton Loading ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--grey-200) 25%, var(--grey-100) 50%, var(--grey-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-load {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Social Icons ───────────────────────────────────────────── */
.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: all var(--transition);
}

.social-btn.facebook { background: #E8F0FE; color: #1565C0; }
.social-btn.instagram { background: #FCE4EC; color: #AD1457; }
.social-btn.tiktok { background: #F3E5F5; color: #6A1B9A; }
.social-btn.whatsapp { background: var(--green-pale); color: var(--green-dark); }
.social-btn:hover { opacity: 0.8; transform: scale(1.04); }

/* ─── Dropdown Menus ─────────────────────────────────────────── */
.dropdown-menu[dir="rtl"],
.dropdown-menu {
  text-align: right;
  font-family: var(--font-primary);
}

.dropdown-item {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.dropdown-item:hover { background: var(--green-pale); color: var(--green-dark); }

/* ─── Comment Section ────────────────────────────────────────── */
.comment-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--grey-200);
}

.comment-bubble {
  background: var(--grey-100);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 0.65rem 1rem;
  flex: 1;
}

.comment-username {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.comment-text { font-size: 0.9rem; color: var(--text-main); }
.comment-time { font-size: 0.75rem; color: var(--grey-400); margin-top: 0.25rem; }

/* ─── Notifications dot ──────────────────────────────────────── */
.notif-dot {
  width: 8px;
  height: 8px;
  background: #E53935;
  border-radius: 50%;
  display: inline-block;
  vertical-align: top;
  margin-top: 2px;
}
