/* ==========================================================================
   TTG Laundry - Kurumsal Site Tasarım Sistemi
   ========================================================================== */

:root {
  --primary: #0b4f6c;
  --primary-dark: #073445;
  --primary-light: #146686;
  --accent: #17a2b8;
  --accent-dark: #128294;
  --accent-light: #e6f7f9;
  --bg-soft: #f4f8fa;
  --text-dark: #1f2a34;
  --text-muted: #5b6b76;
  --text-muted-light: #b9c9d1;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(11, 79, 108, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 79, 108, 0.12);
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--accent);
}

a:hover {
  color: var(--primary);
}

.text-muted-light {
  color: var(--text-muted-light);
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.bg-soft {
  background-color: var(--bg-soft);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-header {
  margin-bottom: 48px;
}

/* ---------------- Buttons ---------------- */
.btn-primary-brand {
  background: var(--accent);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary-brand:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-brand {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-outline-brand:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-brand-dark {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-outline-brand-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------------- Header / Topbar ---------------- */
.topbar {
  background: var(--primary-dark);
  color: var(--text-muted-light);
  font-size: 0.85rem;
  padding: 8px 0;
}

.topbar-info span,
.topbar-info a {
  margin-right: 24px;
}

.topbar-info i {
  color: var(--accent);
  margin-right: 6px;
}

.topbar-tag i {
  color: var(--accent);
  margin-right: 6px;
}

.main-navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-size: 1.25rem;
}

.brand-text {
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.brand-text strong {
  color: var(--accent);
}

.main-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 12px;
  padding: 8px 0;
  position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--accent);
}

.btn-login {
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent-dark) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 130px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #7be0e8;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
}

.hero-card .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f4;
}

.hero-card .stat-row:last-child {
  border-bottom: none;
}

.hero-card .stat-row i {
  color: var(--accent);
  font-size: 1.3rem;
  margin-right: 10px;
}

.hero-card .stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-card .stat-value {
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

/* ---------------- Trust strip ---------------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid #eef2f4;
  padding: 20px 0;
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  justify-content: center;
}

.trust-strip .trust-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ---------------- Service cards ---------------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  border: 1px solid #eef2f4;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h5 {
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------------- Process steps ---------------- */
.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}

.process-step h6 {
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------------- Stats ---------------- */
.stats-band {
  background: var(--primary-dark);
  color: var(--white);
  padding: 56px 0;
}

.stat-block {
  text-align: center;
}

.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-block .stat-caption {
  color: var(--text-muted-light);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ---------------- B2B panel highlight ---------------- */
.b2b-panel {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 48px;
  border: 1px solid #eef2f4;
}

.b2b-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.b2b-feature:last-child {
  margin-bottom: 0;
}

.b2b-feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.b2b-feature h6 {
  margin-bottom: 4px;
}

.b2b-feature p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
}

.cta-band h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header .breadcrumb-nav {
  color: var(--text-muted-light);
  font-size: 0.92rem;
}

.page-header .breadcrumb-nav a {
  color: var(--white);
}

/* ---------------- Value / About cards ---------------- */
.value-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
}

.value-card .service-icon {
  background: var(--white);
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.timeline-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  position: relative;
}

.timeline-item:not(:last-child) .timeline-dot::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 6px;
  width: 2px;
  height: 68px;
  background: #d9e6ea;
}

.timeline-content h6 {
  margin-bottom: 4px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------------- Contact page ---------------- */
.contact-info-card {
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-card:last-child {
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid #eef2f4;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #dde6ea;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.15);
}

.contact-form-card label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 320px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-muted-light);
  padding: 72px 0 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted-light);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 14px;
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.site-footer .py-3 span {
  font-size: 0.85rem;
}

/* ---------------- Login ---------------- */
.login-body {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
}

.login-card label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.login-card .form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #dde6ea;
}

.login-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.15);
}

/* ---------------- Admin panel ---------------- */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--primary-dark);
  color: var(--text-muted-light);
  padding: 24px 0;
}

.admin-sidebar .navbar-brand {
  padding: 0 24px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .brand-text {
  color: var(--white);
}

.admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-nav > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--text-muted-light);
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.admin-nav > li > a i {
  font-size: 1.1rem;
  width: 20px;
}

.admin-nav > li > a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.admin-nav > li > a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-left-color: var(--accent);
}

.admin-nav-group {
  margin-top: 6px;
}

.admin-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  color: var(--text-muted-light);
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.admin-nav-group-toggle span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav-group-toggle span i {
  font-size: 1.1rem;
  width: 20px;
}

.admin-nav-group-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.admin-nav-group-toggle .toggle-icon {
  font-size: 0.8rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.admin-nav-group-toggle:not(.collapsed) .toggle-icon {
  transform: rotate(180deg);
}

.admin-nav-subgroup {
  list-style: none;
  padding: 4px 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.16);
}

.admin-nav-subgroup,
.admin-nav-subgroup li {
  list-style-type: none;
}

.admin-nav-sub {
  list-style: none;
}

.admin-nav-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 44px;
  color: var(--text-muted-light);
  font-weight: 500;
  font-size: 0.88rem;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.admin-nav-sub a i {
  font-size: 0.9rem;
  width: 20px;
}

.admin-nav-sub a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.admin-nav-sub a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-left-color: var(--accent);
}

.admin-main {
  flex: 1;
  background: var(--bg-soft);
  min-width: 0;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid #eef2f4;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar .btn-toggle-sidebar {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.admin-content {
  padding: 32px;
}

.admin-page-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.admin-breadcrumb {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #eef2f4;
  padding: 26px;
}

.admin-table {
  width: 100%;
}

.admin-table thead th {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  border-bottom: 2px solid #eef2f4;
  padding: 10px 14px;
}

.admin-table tbody td {
  padding: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #f2f5f7;
}

.admin-table-nowrap th,
.admin-table-nowrap td {
  white-space: nowrap;
}

.half-width-content {
  max-width: 50%;
}

@media (max-width: 991.98px) {
  .half-width-content {
    max-width: 100%;
  }
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.active {
  background: #e5f7ee;
  color: #1a9c5c;
}

.status-badge.pending {
  background: #fdf3e0;
  color: #b9791f;
}

.status-badge.info {
  background: #e6f0fd;
  color: #2563b8;
}

.status-badge.ready {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.status-badge.inactive {
  background: #fdecec;
  color: #d64545;
}

.status-badge.partial {
  background: #f1ebfd;
  color: #6b46c1;
}

.talep-note-block + .talep-note-block {
  margin-top: 12px;
}

.collapsible-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.collapsible-card-header h6 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.collapsible-toggle-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.collapsible-card-header.collapsed .collapsible-toggle-icon {
  transform: rotate(-90deg);
}

.collapsible-card-body {
  padding-top: 10px;
}

.collapsible-count {
  background: #eef1f4;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 1px 8px;
}

.delivery-row.cancelled .delivery-row-summary {
  text-decoration: line-through;
  opacity: 0.55;
}

/* Teslimat iptali nadiren kullanılır: detay butonundan ayrı, küçük ve yazılı; üzerine gelince kırmızılaşır. */
.delivery-cancel-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 1px 8px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.delivery-cancel-link:hover,
.delivery-cancel-link:focus-visible {
  color: #d64545;
  background: #fdecec;
  border-color: #f3c2c2;
}

.request-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
}

.request-log-list li {
  padding: 6px 0 6px 12px;
  border-left: 2px solid #e3e8ec;
  font-size: 0.85rem;
}

.request-log-list li + li {
  margin-top: 2px;
}

.request-log-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.teslim-table .teslim-qty {
  width: 72px;
}

.teslim-table .teslim-note {
  min-width: 170px;
}

.teslim-deduct {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
}

.teslim-deduct .form-check-input {
  margin: 0;
}

.stat-mini-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #eef2f4;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-mini-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

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

.admin-form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #eef2f4;
  padding: 30px;
}

.admin-form-card .form-control,
.admin-form-card .form-select {
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #dde6ea;
}

.admin-form-card .form-control:focus,
.admin-form-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.15);
}

.admin-form-card label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* ---------------- Toast notifications ---------------- */
.app-toast {
  min-width: 320px;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  color: var(--white);
  overflow: hidden;
}

.app-toast .toast-body {
  font-weight: 500;
  font-size: 0.92rem;
  padding: 14px 16px;
}

.app-toast-success {
  background: #1a9c5c;
}

.app-toast-error {
  background: #d64545;
}

/* ---------------- Danger / delete button ---------------- */
.btn-danger-brand {
  background: #d64545;
  border: none;
  color: var(--white);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-danger-brand:hover {
  background: #b93636;
  color: var(--white);
}

/* ---------------- Admin topbar user dropdown ---------------- */
.admin-user-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.admin-user-dropdown-toggle:hover {
  background: var(--bg-soft);
}

.admin-user-dropdown-toggle .bi-chevron-down {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-user-dropdown-toggle::after {
  display: none;
}

/* ---------------- Hotel tab nav ---------------- */
.hotel-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: 12px;
  padding: 6px;
}

.hotel-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.hotel-tab:hover {
  background: var(--bg-soft);
  color: var(--primary-dark);
}

.hotel-tab.active {
  background: var(--primary);
  color: var(--white);
}

/* ---------------- Filters & pagination ---------------- */
.filter-bar {
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.filter-bar .form-control,
.filter-bar .form-select {
  border-radius: 10px;
  padding: 9px 14px;
  border: 1px solid #dde6ea;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pagination-bar .page-info {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pagination-numbers .page-num {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #dde6ea;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.pagination-numbers .page-num:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.pagination-numbers .page-num.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination-numbers .page-num.ellipsis {
  border: none;
  color: var(--text-muted);
  cursor: default;
}

.admin-table-compact thead th {
  padding: 7px 12px;
}

.admin-table-compact tbody td {
  padding: 7px 12px;
  font-size: 0.9rem;
}

.btn-topbar-action {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

/* Tüm kod butonları aynı genişlikte (120px) görünür; bundan uzun bir kod kendi genişliğini alır. */
.hotel-code-link {
  display: inline-flex;
  justify-content: center;
  min-width: 120px;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-dark);
  background: var(--accent-light);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 14px;
  transition: all 0.15s ease;
}

.hotel-code-link:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    z-index: 1050;
    transition: left 0.25s ease;
    overflow-y: auto;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-topbar .btn-toggle-sidebar {
    display: inline-block;
  }

  .admin-topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .admin-content {
    padding: 20px;
  }

  .admin-content .btn-primary-brand,
  .admin-content .btn-outline-brand-dark,
  .admin-content .btn-danger-brand {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .admin-content .d-flex.gap-2 {
    flex-wrap: wrap;
  }

  .admin-table th,
  .admin-table td {
    white-space: nowrap;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .hero {
    padding: 70px 0 90px;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .btn-login {
    display: inline-flex;
    margin-top: 16px;
    width: fit-content;
  }

  .b2b-panel {
    padding: 30px;
  }

  .cta-band {
    padding: 40px 24px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

.talep-group-block h6 {
  color: var(--primary-dark);
  font-weight: 700;
}

.talep-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 12px;
}

.talep-item-card {
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: 8px;
  padding: 8px 12px;
  transition: border-color 0.15s ease;
}

.talep-item-card:hover {
  border-color: var(--accent);
}

.talep-item-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.talep-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.talep-item-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 60px;
}

.talep-qty-input {
  width: 64px;
  flex-shrink: 0;
  padding: 4px 6px;
}

.talep-item-total {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent-dark);
  min-width: 68px;
  text-align: right;
}

.talep-grand-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1.1rem;
}

.admin-card.compact-card {
  padding: 16px 18px;
}

/* .admin-table tbody td kuralı daha özgül olduğu için sıkı satırlar ancak bu seçiciyle uygulanıyor. */
.admin-table.talep-detail-table thead th {
  padding: 7px 12px;
}

.admin-table.talep-detail-table tbody td {
  padding: 5px 12px;
}

.talep-detail-table td,
.talep-detail-table th {
  line-height: 1.3;
  white-space: nowrap;
}

.admin-table.talep-detail-table tbody .talep-detail-group-row td {
  padding: 7px 12px 3px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  border-bottom: 1px solid #eef2f4;
  background: #fafbfc;
}

.admin-table.talep-detail-table tbody td.talep-product-name {
  font-size: 0.94rem;
}

/* Talep detayındaki bilgi kartı: iki etiket/değer çifti yan yana; Otel satırı tüm genişliği kullanır. */
.talep-info-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 8px;
  margin: 0;
}

.talep-info-grid dt,
.talep-info-grid dd {
  margin: 0;
}

.talep-info-grid .talep-info-wide {
  grid-column: 2 / -1;
}

@media (max-width: 575.98px) {
  .talep-info-grid {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 16px;
  }

  .talep-info-grid .talep-info-wide {
    grid-column: auto;
  }
}

.hotel-info-btn {
  border: none;
  background: none;
  padding: 0 2px;
  margin-left: 2px;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  vertical-align: baseline;
}

.hotel-info-btn:hover {
  color: var(--accent-dark);
}

.hotel-info-list dt {
  font-weight: 600;
}

.hotel-info-list dd {
  margin-bottom: 8px;
}

.talep-items-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.talep-items-summary strong {
  color: var(--text-dark);
}

/* Kritik İşlemler listesi: uzun metinli sütunlar yatay kaydırmak yerine alt satıra iner. */
.admin-table td.critical-log-wrap {
  white-space: normal;
  min-width: 220px;
}

.admin-table td.critical-log-action {
  white-space: normal;
  min-width: 170px;
}

.admin-table td.critical-log-hotel {
  white-space: normal;
  min-width: 130px;
}

.critical-log-new td {
  background: #fff6f6;
}

/* Otel özet kartı: güncel borç büyük, toplam borç ve tahsilat yanında. */
.balance-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 36px;
}

.balance-summary-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.balance-summary-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.balance-summary-item .fw-semibold {
  font-variant-numeric: tabular-nums;
}

.stat-mini-icon.balance-icon-due {
  background: #fdecec;
  color: #d64545;
}

/* Cari hesap tabloları: tutar sütunları hizalı ve tek satır, alt satırda genel toplam. */
.ledger-table td.text-end,
.ledger-table th.text-end {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Açılır listelerde ok simgesi yazının üstüne binmesin. */
.form-select.ledger-year-select {
  min-width: 95px;
}

.form-select.ledger-month-select {
  min-width: 125px;
}

.form-select.ledger-list-select {
  min-width: 155px;
}

.btn.ledger-filter-btn {
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

/* Otel listesi sabit genişlikte; uzun otel adları açılan listede tam görünür. */
@media (min-width: 768px) {
  .form-select.ledger-hotel-select {
    width: 405px;
  }
}

/* Otel seçici: kapalıyken ve açılan listede otel adı solda, bakiye sağda. Sağdaki ok simgesi
   sağdan 12–28px arasında durduğu için bakiye okla çakışmasın diye sağ boşluk artırıldı. */
.form-select.ledger-hotel-picker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
  text-align: left;
}

.ledger-hotel-picker-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-hotel-picker-balance {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ledger-hotel-menu {
  min-width: 100%;
  max-height: 340px;
  overflow-y: auto;
  padding-top: 0;
}

.ledger-hotel-search {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--white);
  padding: 8px 10px;
  border-bottom: 1px solid #eef2f4;
}

.dropdown-item.ledger-hotel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 6px 14px;
}

.ledger-hotel-item-balance {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.dropdown-item.ledger-hotel-item.selected,
.dropdown-item.ledger-hotel-item:active {
  background: var(--accent-light);
  color: var(--text-dark);
}

.payment-hotel-box {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 10px 14px;
}

@media (min-width: 576px) {
  .modal-dialog.ledger-payment-dialog {
    max-width: 640px;
  }
}

.payment-fill-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 1px 9px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--white);
  border: 1px solid #cfe9ed;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}

.payment-fill-link:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.ledger-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ledger-summary-item {
  border: 1px solid #eef2f4;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fafbfc;
}

.ledger-summary-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ledger-summary-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .ledger-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-table.ledger-table tbody .ledger-opening-row td {
  background: #fafbfc;
  color: var(--text-muted);
}

.admin-table td.ledger-desc {
  white-space: normal;
  min-width: 180px;
}

.ledger-row-cancelled td {
  color: var(--text-muted);
}

.ledger-row-cancelled .ledger-amount {
  text-decoration: line-through;
}

.btn.ledger-action-btn {
  padding: 2px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-table.ledger-table tfoot .ledger-total-row td {
  padding: 9px 12px;
  font-weight: 700;
  border-top: 2px solid #eef2f4;
  background: #fafbfc;
}

a.notification-bell-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.notification-bell-btn.critical-alert {
  color: #d64545;
}

/* Talep detayı başlığı: solda kod, sağ üstte durum adımları */
.talep-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.status-stepper {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 125px;
  text-align: center;
}

/* Adımlar arası çizgi: önceki dairenin ortasından bu dairenin ortasına uzanır, daireler üstünü örter. */
.status-step + .status-step::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #dfe6eb;
}

.status-step + .status-step:is(.done, .current, .partial, .complete)::before {
  background: #1a9c5c;
}

.status-step-circle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d5dde3;
  background: var(--white);
  color: #9aa8b2;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
}

.status-step-label {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  color: #9aa8b2;
}

.status-step.done .status-step-circle {
  background: #e5f7ee;
  border-color: #1a9c5c;
  color: #1a9c5c;
}

.status-step.done .status-step-label {
  color: #1a9c5c;
}

.status-step.current .status-step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.2);
}

.status-step.current .status-step-label {
  color: var(--accent-dark);
  font-weight: 700;
}

.status-step.partial .status-step-circle {
  background: #6b46c1;
  border-color: #6b46c1;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.2);
}

.status-step.partial .status-step-label {
  color: #6b46c1;
  font-weight: 700;
}

.status-step.complete .status-step-circle {
  background: #1a9c5c;
  border-color: #1a9c5c;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 156, 92, 0.2);
}

.status-step.complete .status-step-label {
  color: #1a9c5c;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .talep-detail-header .status-stepper {
    width: 100%;
  }

  .status-step {
    flex: 1 1 0;
    width: auto;
  }

  .status-step-label {
    font-size: 0.7rem;
  }
}

.talep-detail-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 700;
  margin-top: 4px;
}

.talep-note-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.talep-note-icon {
  color: var(--accent-dark);
  cursor: pointer;
}

.hotel-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 12px;
}

.hotel-price-card {
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: 8px;
  padding: 8px 12px;
  transition: border-color 0.15s ease;
}

.hotel-price-card:hover {
  border-color: var(--accent);
}

.hotel-price-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.hotel-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotel-price-base {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hotel-price-row .form-control {
  max-width: 120px;
}

.talep-code-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
  background: #f4f6f8;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  padding: 5px 12px;
  transition: all 0.15s ease;
}

.talep-code-link:hover {
  background: #eef1f4;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.talep-confirm-scroll {
  max-height: 50vh;
  overflow-y: auto;
}

.talep-confirm-table td,
.talep-confirm-table th {
  padding: 4px 10px;
}

.talep-qty-original {
  text-decoration: line-through;
  font-size: 0.72rem;
}

.talep-notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.talep-notification-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 0.88rem;
}

.talep-notification-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  flex: 1 1 auto;
}

.talep-notification-changes-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #dfe4e8;
  background: #f4f6f8;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.talep-notification-changes-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.talep-notification-date {
  color: var(--text-muted);
  font-size: 0.76rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.notification-bell-wrap {
  position: relative;
}

.notification-bell-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--primary-dark);
  padding: 4px 8px;
}

.notification-bell-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #d64545;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.notification-dropdown {
  width: 340px;
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
}

.notification-dropdown-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid #f2f5f7;
  white-space: normal;
  color: var(--primary-dark);
}

.notification-dropdown-item.unread {
  background: var(--accent-light);
}

.notification-dropdown-item:hover {
  background: #f4f6f8;
}

.notification-dropdown-empty {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.notification-dropdown-footer {
  padding: 8px 14px;
  text-align: center;
  border-top: 1px solid #eef2f4;
}

.msg-unread-blink {
  color: #d64545;
  margin-left: 6px;
  animation: msg-blink 1.2s infinite;
}

.btn-with-badge {
  position: relative;
  display: inline-block;
}

.btn-with-badge .btn-corner-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #d64545;
  color: var(--white);
  border-radius: 999px;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  animation: msg-blink 1.2s infinite;
}

@keyframes msg-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.chat-scroll {
  max-height: 360px;
  min-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px;
}

.chat-scroll-tall {
  max-height: calc(100vh - 420px);
  min-height: 280px;
}

.chat-bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.chat-bubble.mine {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 3px;
}

.chat-bubble.theirs {
  align-self: flex-start;
  background: #f1f3f5;
  color: var(--text-dark);
  border-bottom-left-radius: 3px;
}

.chat-bubble-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble-meta {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-top: 4px;
}

.msg-thread-list {
  max-height: 640px;
  overflow-y: auto;
}

/* Mesajlar: sol liste ile sağdaki yazışma kartı aynı boyda; sağda mesaj alanı kalan yüksekliği doldurup kendi içinde kayar. */
@media (min-width: 992px) {
  .admin-card.msg-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .msg-panel .msg-thread-list {
    flex: 1 1 auto;
    min-height: 0;
  }

  .msg-panel .chat-scroll.chat-scroll-tall {
    flex: 1 1 0;
    min-height: 280px;
    max-height: none;
  }
}

.msg-thread-search .form-control {
  font-size: 0.88rem;
}

.msg-thread-search .btn {
  padding: 6px 14px;
  border-radius: 0 10px 10px 0;
}

.msg-thread-item {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  margin-bottom: 2px;
  line-height: 1.25;
}

.msg-thread-code {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.msg-thread-item:hover {
  background: #f4f6f8;
}

.msg-thread-item.active {
  background: var(--accent-light);
  border-color: var(--accent);
}

.msg-thread-item.unread .msg-thread-hotel {
  font-weight: 700;
}

.msg-thread-hotel {
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.msg-thread-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-thread-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Konuşma listesinde talebin durumu: saatin altında, kodun karşısında küçük etiket. */
.status-badge.msg-thread-status {
  padding: 0 7px;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.55;
  white-space: nowrap;
}

.msg-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d64545;
  display: inline-block;
}

.admin-nav-badge {
  background: #d64545;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  margin-left: auto;
}

.talep-price-breakdown {
  background: #f7f8fa;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.talep-price-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 0.88rem;
}

/* Ürün Tanımları: satırlar sıkı, rozet ve butonlar küçük. */
.admin-table.item-def-table tbody td {
  padding: 4px 12px;
}

.item-def-table .status-badge {
  padding: 2px 10px;
  font-size: 0.78rem;
}

/* Çamaşırhane ve Kuru Temizleme tabloları ayrı olsa da sütunlar aynı hizada dursun diye genişlikler sabit. */
.admin-table.item-def-table {
  table-layout: fixed;
}

.admin-table.item-def-table td,
.admin-table.item-def-table th {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fiyat girişi: satırlar sıkı, iki gruptaki tablolar aynı hizada. */
.admin-table.price-edit-table {
  table-layout: fixed;
}

.admin-table.price-edit-table tbody td {
  padding: 3px 12px;
}

/* ============ İçerik yönetimi: admin ============ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.media-tile {
  position: relative;
  border: 1px solid #eef2f4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  text-align: left;
}

.media-tile img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #f4f6f8;
}

.media-tile-img {
  display: block;
}

.media-tile-info {
  padding: 6px 8px;
  font-size: 0.74rem;
}

.media-tile-check {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 1px 3px;
}

.media-tile-pick {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.media-tile-pick:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.25);
}

.media-category-list .list-group-item {
  font-size: 0.88rem;
  padding: 7px 12px;
}

.media-category-list .list-group-item.active {
  background: var(--primary);
  border-color: var(--primary);
}

.cms-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cms-section-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #eef2f4;
  border-radius: 10px;
  margin-bottom: 6px;
  background: #fff;
}

.cms-section-row.is-hidden {
  opacity: 0.6;
  background: #fafbfc;
}

.cms-section-row.sortable-ghost {
  background: var(--accent-light);
}

.cms-drag-handle {
  cursor: grab;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cms-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
}

.cms-section-text {
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-section-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.cms-module-pick {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid #eef2f4;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cms-module-pick:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.cms-subcard {
  border: 1px solid #eef2f4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfc;
}

.cms-subcard-title {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.cms-repeater-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.cms-repeater-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #eef2f4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfc;
}

.cms-row-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 20px;
}

.cms-image-preview {
  width: 180px;
  height: 110px;
  border: 1px dashed #cfd8de;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f6f8;
}

.cms-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}

.cms-icon-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: 1px solid #eef2f4;
  border-radius: 8px;
  background: #fff;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cms-icon-choice i {
  font-size: 1.3rem;
  color: var(--accent-dark);
}

.cms-icon-choice:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.cms-rich-editor {
  min-height: 140px;
  background: #fff;
}

.cms-section-form .ql-toolbar.ql-snow {
  border-radius: 8px 8px 0 0;
}

.cms-section-form .ql-container.ql-snow {
  border-radius: 0 0 8px 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

/* ============ İçerik yönetimi: site ============ */
.cms-editor-bar {
  background: #1f2a34;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
}

.cms-editor-link {
  color: #7fd6e3;
  text-decoration: none;
  font-weight: 600;
}

.cms-draft-badge {
  background: #b9791f;
  color: #fff;
  border-radius: 999px;
  padding: 1px 10px;
  margin-right: 6px;
  font-weight: 600;
}

.cms-media-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.stat-block.cms-stat-tile {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px 16px;
}

.bg-soft .stat-block.cms-stat-tile {
  background: #fff;
}

.cms-stat-tile .stat-number {
  color: var(--accent-dark);
}

.cms-stat-tile .stat-caption {
  color: var(--text-muted);
}

.stats-band-title {
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.page-header-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.cms-content > :last-child {
  margin-bottom: 0;
}

.cms-accordion .accordion-button {
  font-weight: 600;
  color: var(--primary-dark);
}

.cms-accordion .accordion-button:not(.collapsed) {
  background: var(--accent-light);
  color: var(--accent-dark);
  box-shadow: none;
}

.cms-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.25);
}

/* Genel ayarlardan yüklenen logo */
.site-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-logo-footer {
  height: 48px;
}

.topbar-info a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}


.media-tile-pick.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.45);
}

.media-tile-pick.is-selected::after {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* İçerik yönetimi: galeri, lightbox, harita, iletişim formu */
.cms-gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.cms-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cms-gallery-item:hover img {
  transform: scale(1.06);
}

.cms-gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  background: rgba(10, 37, 64, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cms-gallery-item:hover .cms-gallery-zoom {
  opacity: 1;
}

.cms-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 15, 25, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
}

.cms-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cms-lightbox-caption {
  color: #e8eef2;
  margin-top: 14px;
  text-align: center;
  min-height: 1.5em;
}

.cms-lightbox button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-lightbox button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cms-lightbox-close { top: 18px; right: 18px; }
.cms-lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.cms-lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 576px) {
  .cms-lightbox { padding: 60px 12px; }
  .cms-lightbox-prev, .cms-lightbox-next { top: auto; bottom: 14px; transform: none; }
}

.cms-map {
  display: block;
  width: 100%;
  border: 0;
}

.cms-map-full .cms-map {
  border-radius: 0;
}

.container .cms-map {
  box-shadow: var(--shadow-sm);
}

.cms-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Admin: iletişim formu mesajları */
.contact-unread td {
  background: #f3fafc;
}

.contact-unread .contact-message-preview a {
  font-weight: 600;
}

.contact-message-preview {
  max-width: 420px;
}

.contact-message-preview a {
  color: var(--text-dark);
  text-decoration: none;
}

.contact-message-preview a:hover {
  color: var(--accent);
}

.contact-detail-list dt {
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a97a3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-detail-list dd {
  margin-bottom: 12px;
  word-break: break-word;
}

.contact-detail-message {
  white-space: pre-wrap;
  line-height: 1.7;
  word-break: break-word;
}

/* Admin: menüler */
.cms-menu-children {
  margin: 0 0 6px 34px;
  padding-left: 12px;
  border-left: 2px dashed #dde6ea;
}

.cms-menu-top.sortable-ghost > .cms-section-row,
.cms-menu-child.sortable-ghost > .cms-section-row {
  background: var(--accent-light);
}

.cms-menu-form-card {
  position: sticky;
  top: 90px;
}

/* Site: ana menü açılır listesi */
.site-dropdown {
  border: 1px solid #eef2f4;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 220px;
}

.site-dropdown .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.site-dropdown .dropdown-item:hover,
.site-dropdown .dropdown-item.active {
  background: var(--accent-light);
  color: var(--accent-dark);
}

@media (min-width: 992px) {
  /* Masaüstünde fareyle üzerine gelince de açılır. */
  .main-navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Admin: blog ve yorumlar */
.blog-admin-thumb {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-admin-thumb-empty {
  background: var(--bg-soft);
  color: #b0bcc6;
}

.comment-admin-body {
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 460px;
}

.comment-pending td {
  background: #fffaf0;
}

/* Site: blog */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0bcc6;
  font-size: 2.4rem;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.blog-card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.blog-card-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.blog-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.blog-pager a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #dde6ea;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.blog-pager a.active,
.blog-pager a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.blog-post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-post-cover {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.blog-post-lead {
  font-size: 1.12rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 20px;
}

/* Site: yorumlar */
.cms-comments {
  border-top: 1px solid #eef2f4;
}

.cms-comments-title {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.cms-comments-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.85rem;
  margin-left: 6px;
  vertical-align: middle;
}

.cms-comment {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f4;
}

.cms-comment-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.cms-comment-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 4px;
}

.cms-comment-head span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cms-comment-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-dark);
}

/* Site: blog detay (iki sütun) */
.blog-article .blog-post-cover {
  margin-bottom: 18px;
}

.blog-post-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.blog-post-meta a {
  color: var(--accent);
  text-decoration: none;
}

.blog-post-body {
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-post-body h2,
.blog-post-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.blog-post-body li {
  margin-bottom: 6px;
}

.blog-post-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.cms-comments-inline {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eef2f4;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-side-card {
  background: var(--white);
  border: 1px solid #eef2f4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.blog-side-title {
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}

.blog-side-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f1f4f6;
}

.blog-side-item:last-of-type {
  border-bottom: 0;
}

.blog-side-thumb {
  width: 84px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0bcc6;
  font-size: 1.4rem;
}

.blog-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-side-item:hover .blog-side-thumb img {
  transform: scale(1.08);
}

.blog-side-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-side-item-title {
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.35;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-side-item:hover .blog-side-item-title {
  color: var(--accent);
}

.blog-side-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-side-all {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.blog-side-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
}

.blog-side-cta > i {
  font-size: 2rem;
  opacity: 0.9;
}

.blog-side-cta h5 {
  color: #fff;
  margin: 10px 0 8px;
}

.blog-side-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.blog-side-cta .btn {
  font-weight: 600;
  border-radius: 10px;
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
  }
}

/* Site: otel kayıt (başvuru) sayfası */
.signup-hero {
  padding: 90px 0 110px;
}

.signup-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-hero-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.signup-hero-list i {
  color: #7fe0ee;
}

.signup-mock {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
  max-width: 480px;
  margin-left: auto;
}

.signup-mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef2f4;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.signup-mock-dots {
  display: inline-flex;
  gap: 6px;
}

.signup-mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8ec;
}

.signup-mock-dots i:first-child { background: #f2a3a3; }
.signup-mock-dots i:nth-child(2) { background: #f5d48a; }
.signup-mock-dots i:nth-child(3) { background: #9ad9b0; }

.signup-mock-body {
  padding: 22px 24px 24px;
}

.signup-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signup-mock-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.signup-mock-code {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

.signup-mock-badge {
  background: #e3f6ec;
  color: #1e7d4f;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.signup-mock-steps {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.signup-mock-steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #dde6ea;
  color: #9aa8b2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.signup-mock-steps span.done {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.signup-mock-steps span.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.signup-mock-steps i {
  flex: 1;
  height: 3px;
  background: #e6edf1;
}

.signup-mock-steps i.done {
  background: var(--accent);
}

.signup-mock-items div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f4f6;
  font-size: 0.95rem;
}

.signup-mock-items i {
  color: var(--accent);
  margin-right: 6px;
}

.signup-mock-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.signup-mock-float {
  position: absolute;
  left: -36px;
  bottom: -22px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.signup-mock-float i {
  color: #e8a23a;
  margin-right: 6px;
}

.signup-benefit {
  height: 100%;
}

.signup-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}

.signup-step {
  display: flex;
  gap: 16px;
}

.signup-step-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.signup-step h6 {
  margin-bottom: 4px;
}

.signup-step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.94rem;
}

.signup-help {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.signup-help > i {
  font-size: 1.8rem;
  color: var(--accent);
}

.signup-help a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
}

.signup-success {
  text-align: center;
  padding: 30px 10px;
}

.signup-success > i {
  font-size: 3.4rem;
  color: #2fae72;
}

.signup-success h4 {
  margin: 14px 0 10px;
}

.signup-success p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Üst menüde Kayıt Ol butonu */
.btn-signup {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-signup:hover {
  background: var(--accent-light);
}

@media (max-width: 991.98px) {
  .signup-mock-float {
    left: 12px;
  }
  .navbar-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }
}

/* Admin: ilçe tanımları */
.ilce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.ilce-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e3eaee;
  border-radius: 10px;
  cursor: pointer;
  color: #8a97a3;
  transition: all 0.15s ease;
  margin: 0;
}

.ilce-item .form-check-input {
  margin: 0;
}

.ilce-item.is-on {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text-dark);
  font-weight: 500;
}

/* Giriş kutusunun yanındaki küçük ikon butonu: kutuyla aynı yükseklikte kalsın */
.admin-content .input-group > .btn.input-group-icon-btn {
  padding: 0 14px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
}

.form-lock-alert {
  border-radius: 12px;
}

/* Otel: talep giriş tablosu (fiyat giriş ekranı düzeninde) */
.talep-entry-form {
  max-width: 980px;
}

.talep-entry-table tbody td {
  vertical-align: middle;
}

.talep-entry-table .talep-qty-input {
  max-width: 110px;
  text-align: right;
}

.talep-entry-table tr.has-qty td {
  background: var(--accent-light);
}

.talep-entry-table tr.has-qty .talep-item-total {
  color: var(--primary);
}

.talep-entry-table .talep-item-total {
  color: #a8b4bd;
}

/* Admin: otel adına talep girişi */
.talep-hotel-pricing {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.talep-confirm-hotel {
  font-weight: 600;
  color: var(--primary);
}

/* Admin: otel iç notu (otel panelinde gösterilmez) */
.hotel-admin-note {
  background: #fffaf0;
  border: 1px solid #f3e3c3;
  border-radius: 12px;
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hotel-admin-note-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #8a5a12;
  margin-bottom: 10px;
}

.hotel-admin-note-body {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  flex: 1 1 auto;
}

.hotel-admin-note-foot {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #a4865a;
}

.hotel-admin-note-input {
  background: #fffcf6;
}

/* Yeni otel formu: geniş ekranda not alanının alt kenarı adres kutusunun alt kenarıyla aynı hizada */
@media (min-width: 992px) {
  .hotel-create-note {
    height: 447.5px;
  }
}

/* Admin: raporlar */
.report-year-select {
  width: auto;
  min-width: 110px;
}

.report-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 991.98px) {
  .report-months {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.report-month {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid #dde6ea;
  background: #fff;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.report-month:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.report-month.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.report-month.is-disabled {
  color: #b8c3ca;
  background: #f7f9fa;
  cursor: not-allowed;
}

.report-month-count {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.report-month.is-active .report-month-count {
  background: #fff;
  color: var(--primary);
}

.report-chart-wrap {
  position: relative;
  height: 380px;
}

.report-chart-wrap.is-pie {
  height: 400px;
}

.report-side {
  border-left: 1px solid #eef2f4;
  padding-left: 20px;
  height: 100%;
}

@media (max-width: 991.98px) {
  .report-side {
    border-left: 0;
    padding-left: 0;
  }
}

.report-metric-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.report-metric {
  text-align: left;
  border: 1px solid #dde6ea;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.15s ease;
}

.report-metric:hover {
  border-color: var(--accent);
}

.report-metric.is-active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.report-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-totals div {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.report-totals span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.report-totals strong {
  font-size: 1.25rem;
  color: var(--primary);
}

.report-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.report-empty i {
  font-size: 2.6rem;
  color: #c3ced5;
  display: block;
  margin-bottom: 10px;
}

.report-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  background: #ccc;
}

.damage-incidents {
  max-height: 520px;
  overflow-y: auto;
}

/* Otel: fiyatlar (sadece görüntüleme, talep giriş tablosu düzeninde) */
.otel-price-table tbody td {
  padding-top: 9px;
  padding-bottom: 9px;
}

.otel-price-table .otel-price-value {
  color: var(--primary);
}
