/* restoran/css/restoran.css — Restoran bölməsi (user tərəfli axtarış) stilləri */

.restoran-filter-bar {
  margin-bottom: 22px;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--color-ink-soft, #5c464a);
  font-size: 14px;
}

.restoran-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.restoran-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
}

/* restoran/index.php nəticələri CV Reytinq (.rank-card) komponentini bölüşür —
   avatar rəngi restoran adına görə sabit təyin olunur, .rank-avatar-in inline style ilə. */
.rank-list .rank-meta a {
  color: inherit;
  text-decoration: none;
}

.rank-list .rank-meta a:hover {
  color: var(--color-primary, #f43f5e);
  text-decoration: underline;
}

/* Statistika sütunlarının (bacarıq/vəzifə/mətbəx) yanındakı kiçik ikon */
.restoran-stat-icon {
  font-size: 15px;
  line-height: 1;
  margin-bottom: 3px;
  opacity: .85;
}

/* Ana səhifədəki promo bölməsi */
.restoran-home-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #241417 0%, #48232a 100%);
  color: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  margin-top: 28px;
}

.restoran-home-banner-text h2 {
  color: #fff;
  margin: 6px 0 6px;
  font-size: clamp(19px, 2.4vw, 25px);
}

.restoran-home-banner-text p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  max-width: 520px;
}

.restoran-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.restoran-home-banner-actions {
  flex-shrink: 0;
}

/* Ana səhifədəki "Restoran tap" CTA düyməsi — dairəvi axtarış ikonu + pilə şəkilli fon */
.restoran-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb5b6e, var(--color-primary-dark, #d81f3d));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-display, inherit);
  letter-spacing: -0.01em;
  box-shadow: 0 14px 30px -10px rgba(216, 31, 61, .6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.restoran-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(216, 31, 61, .65);
  filter: brightness(1.03);
  color: #fff;
}
.restoran-cta-btn:active {
  transform: translateY(0) scale(0.98);
}
.restoran-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(150deg, #7fe3f7, #38bdf8);
  color: #0c4a6e;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 3px 8px rgba(3, 105, 161, .35);
}
.restoran-cta-icon svg { display: block; }

@media (max-width: 760px) {
  .restoran-home-banner {
    padding: 22px 20px;
  }
  .restoran-home-banner-actions {
    width: 100%;
  }
  .restoran-home-banner-actions a {
    flex: 1;
    justify-content: center;
  }
  .restoran-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 22px 10px 10px;
    font-size: 15.5px;
  }
}

/* CV Göndər modalı — sürüklə-burax (dropzone) fayl seçimi, job-detail.php-dəki
   "Bu elana müraciət et" formundakı komponentlə eyni görünüş/davranış */
.cv-dropzone {
  position: relative;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft, #faf6f2);
  padding: 22px 16px;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.cv-dropzone:hover { border-color: var(--color-primary); background: var(--color-primary-tint); }
.cv-dropzone.is-dragover { border-color: var(--color-primary); background: var(--color-primary-tint); transform: scale(1.01); }
.cv-dropzone.has-file { border-style: solid; border-color: var(--color-primary); background: #fff; padding: 12px 14px; text-align: left; }
.cv-dropzone-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; margin: 0; z-index: 1;
}
.cv-dropzone-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; }
.cv-dropzone-icon { color: var(--color-primary); margin-bottom: 2px; }
.cv-dropzone-title { font-size: 14px; font-weight: 700; color: var(--color-ink); }
.cv-dropzone-sub { font-size: 12.5px; color: var(--color-ink-faint); }
.cv-dropzone-file { display: flex; align-items: center; gap: 10px; pointer-events: none; }
.cv-dropzone-file-icon { font-size: 20px; flex-shrink: 0; }
.cv-dropzone-file-info { flex: 1; min-width: 0; }
.cv-dropzone-file-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--color-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-dropzone-file-size { display: block; font-size: 12px; color: var(--color-ink-faint); margin-top: 1px; }
.cv-dropzone-remove {
  position: relative; z-index: 2; pointer-events: auto;
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--color-border-strong); background: #fff; color: var(--color-ink-soft);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.cv-dropzone-remove:hover { border-color: var(--color-danger); color: var(--color-danger); }

/* Admin: seçim tab-ları və çek-boks qrupları (Bacarıq/Vəzifə/Mətbəx) */
.restoran-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.restoran-checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-border, #e5e5ea);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.restoran-checkbox-pill input {
  margin: 0;
}
