:root {
  --ink: #2c2c2c;
  --ink-soft: #4a4a4a;
  --gold: #c4a035;
  --gold-soft: #d4b45a;
  --gold-line: #c4a035;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --line: #dde1e6;
  --muted: #6b7280;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
}

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ========== CORPORATE HEADER ========== */
.corp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}

.corp-header-top {
  background: #ffffff;
}

.corp-header-inner {
  width: 85%;
  max-width: none;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.corp-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.corp-logo {
  height: 88px;
  width: auto;
  display: block;
  max-width: min(220px, 55vw);
  object-fit: contain;
}

.corp-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.corp-meta {
  text-align: right;
  line-height: 1.25;
}

.corp-meta-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.corp-meta-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.btn-corp-outline {
  appearance: none;
  background: #fff;
  border: 1px solid #c5cad1;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  min-height: 42px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-corp-outline:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: #fbf8f0;
}

.corp-nav {
  background: #fafbfc;
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--gold-line);
}

.corp-nav-inner {
  padding-top: 0;
  padding-bottom: 0;
  gap: 0;
  justify-content: flex-start;
}

.corp-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
  transition: color 0.15s ease, background 0.15s ease;
}

.corp-nav a:first-child {
  border-left: 1px solid var(--line);
}

.corp-nav a:hover {
  color: var(--ink);
  background: #ffffff;
}

.corp-nav a.is-active {
  color: var(--ink);
  background: #ffffff;
}

.corp-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.corp-nav a.nav-teklif {
  color: #7a5a10;
  background: linear-gradient(180deg, #fff8e8 0%, #f3e2b0 100%);
  font-weight: 700;
}

.corp-nav a.nav-teklif:hover {
  color: #5c4208;
  background: linear-gradient(180deg, #fff4d6 0%, #ecd48a 100%);
}

.corp-nav a.nav-teklif.is-active {
  color: #4a3606;
  background: linear-gradient(180deg, #ffe9a8 0%, #e2c15c 100%);
}

.corp-nav a.nav-teklif.is-active::after {
  background: #8a6a12;
  height: 3px;
  bottom: -2px;
}

.site-main {
  width: 85%;
  max-width: none;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  padding-left: max(1.5rem, var(--safe-left));
  padding-right: max(1.5rem, var(--safe-right));
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1rem 1.5rem calc(1rem + var(--safe-bottom));
}

.site-footer-inner {
  width: 85%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.site-footer p,
.login-foot {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer a,
.login-foot a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 160, 53, 0.45);
}

.site-footer a:hover,
.login-foot a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.site-footer strong,
.login-foot strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.credit-lock {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* ========== PAGE / COMPONENTS ========== */
.page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.page-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--ink);
}

.section-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.card-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.35rem;
}

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.btn-gold:hover {
  background: #b08e28;
  border-color: #b08e28;
  color: #fff;
}

.btn-touch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.status-Beklemede { background: #f3ecda; color: #7a6418; }
.status-Tamamlandi { background: #e7f2eb; color: #1f6b3d; }
.status-Iptal { background: #f5e8e8; color: #8f2323; }

.odeme-Beklemede { background: #fce8e8; color: #b42318; }
.odeme-Odendi { background: #e7f6ec; color: #1b7a3d; }
.odeme-Tamamlandi { background: #dcefe3; color: #146336; }
.odeme-Iptal { background: #ececec; color: #555; }

.twofa-setup {
  margin-top: 0.5rem;
}

.twofa-qr {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  padding: 0.5rem;
  background: #fff;
}

.twofa-manual {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.twofa-manual code {
  font-size: 0.85rem;
  word-break: break-all;
}

/* ========== PREMIUM TEKLİF FORM ========== */
.premium-form {
  max-width: none;
  margin: 0 auto 2rem;
  background: transparent;
  border: none;
  padding: 0;
}

.pf-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.pf-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.pf-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.pf-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pf-head-chips {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pf-chip {
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem 0.75rem;
}

.pf-chip span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.pf-chip input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.pf-chip input[readonly] {
  color: var(--muted);
}

.pf-alert {
  margin: 0 0 1rem;
  background: #fff;
  padding: 0.75rem 1rem;
  border: 1px solid #f0c7c7;
}

.pf-oda-uyari {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e8b4b4;
  background: #fff5f5;
  color: #7a1f1f;
}

.pf-oda-uyari strong {
  display: block;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.pf-oda-uyari p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5c2a2a;
}

.pf-stay {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1.15rem;
}

.pf-stay-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem;
  align-items: stretch;
  margin-bottom: 1.1rem;
}

.pf-date-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fcfbf8 0%, #f7f5ef 100%);
  border: 1px solid #ebe4d4;
  cursor: pointer;
}

.pf-date-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.pf-date-card input[type="date"] {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 36px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  color-scheme: light;
}

.pf-stay-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 7rem;
  padding: 0 0.25rem;
}

.pf-bridge-line {
  width: 100%;
  height: 1px;
  background: #e2d8c2;
}

.pf-nights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pf-stay-extras {
  display: grid;
  grid-template-columns: 100px 120px 1.4fr 200px 180px;
  gap: 0.85rem 0.85rem;
  align-items: end;
}

.pf-oda-tipi,
.pf-otel-tel {
  max-width: 100%;
}

.pf-columns {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.15rem;
  align-items: start;
}

.pf-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.pf-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem 1.35rem;
  min-width: 0;
}

.pf-card-head {
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef0f3;
}

.pf-card-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.pf-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.pf-card-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pf-add {
  appearance: none;
  border: 1px solid #d9c48a;
  background: #fbf8f0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.85rem;
  min-height: 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pf-add:hover {
  background: #f3ead2;
  border-color: var(--gold);
}

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}

.pf-grid-status {
  margin-bottom: 1rem;
}

.pf-span-2,
.pf-field-wide {
  grid-column: span 2;
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.pf-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
}

.pf-field input,
.pf-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e1e5ea;
  border-radius: 0;
  background: #fafbfc;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pf-field input:focus,
.pf-field select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 160, 53, 0.12);
}

.pf-field input[readonly] {
  color: var(--muted);
  background: #f3f4f6;
}

.pf-people,
.pf-payments {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pf-person,
.pf-pay {
  display: grid;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  background: #fafbfc;
  border: 1px solid #eef0f3;
}

.pf-person {
  grid-template-columns: 36px minmax(0, 1.4fr) minmax(140px, 0.9fr) auto;
}

.pf-pay {
  grid-template-columns: 1.1fr 1.1fr 120px 100px 120px auto;
}

.pf-person-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.35rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.pf-remove {
  appearance: none;
  border: 1px solid #e4b4b4;
  background: #fff;
  color: #b42318;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 46px;
  padding: 0 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pf-remove:hover {
  background: #fce8e8;
  border-color: #b42318;
}

.pf-grow {
  min-width: 0;
}

.pf-footer {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  padding: 1rem 1.25rem calc(1rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.pf-cancel {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.pf-cancel:hover {
  color: var(--ink);
}

.pf-save {
  min-width: 200px;
}

/* ========== PAGER ========== */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding: 0.85rem 0 0.25rem;
}

.pager-info {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.pager-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pager-btn {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.pager-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.pager-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.pager-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ========== PUBLIC SHARE PAGES ========== */
.public-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
  font-family: var(--font-body);
  padding:
    max(1rem, var(--safe-top))
    max(1rem, var(--safe-right))
    max(1.25rem, var(--safe-bottom))
    max(1rem, var(--safe-left));
}

.public-wrap {
  width: min(520px, 100%);
  margin: 0 auto;
}

.public-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.public-brand img {
  height: 88px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.public-brand p {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.public-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.public-summary span {
  font-size: 0.78rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  color: var(--ink-soft);
}

.public-form,
.public-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.35rem 1.2rem;
}

.public-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef1f4;
}

.public-card-row:last-child {
  border-bottom: none;
}

.public-card-row span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-card-row strong {
  text-align: right;
  font-weight: 600;
}

.public-form .pf-field input {
  font-size: 16px;
}

.detail-grid > div {
  margin-bottom: 0.85rem;
}

.detail-grid span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.detail-grid strong {
  font-weight: 600;
}

.filter-bar {
  padding: 1rem 1.2rem;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* ========== MOBILE TEKLİF CARDS ========== */
.teklif-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.teklif-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.05rem 1.05rem;
}

.teklif-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.teklif-card-voucher {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.teklif-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.teklif-card-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.teklif-card-status-row span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.teklif-card-status-row strong {
  display: block;
  font-weight: 600;
}

.teklif-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.teklif-card-meta span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.teklif-card-meta strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.teklif-card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.teklif-card-actions .btn {
  font-size: 0.82rem;
  padding: 0.55rem 0.35rem;
}

/* ========== LOGIN ========== */
.login-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
  font-family: var(--font-body);
  padding:
    max(1rem, var(--safe-top))
    max(1rem, var(--safe-right))
    max(1rem, var(--safe-bottom))
    max(1rem, var(--safe-left));
}

.login-wrap {
  width: min(440px, 100%);
}

.login-card-corp {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(30, 40, 60, 0.06);
}

.login-brand-block {
  display: flex;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.login-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.login-divider {
  width: 64px;
  height: 1px;
  margin: 1.1rem auto 1.25rem;
  background: var(--gold);
}

.login-card-corp h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.login-lead {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.login-input {
  border-radius: 2px;
  border-color: #cfd4db;
  background: #fff;
  min-height: 48px;
  font-size: 16px !important;
}

.login-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(196, 160, 53, 0.15);
}

.login-foot {
  text-align: center;
  margin: 1.15rem 0 0;
  padding: 0 0.5rem;
}

/* ========== TABLET ========== */
@media (max-width: 992px) {
  .corp-logo {
    height: 72px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .pf-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pf-stay-extras {
    grid-template-columns: 1fr 1fr;
  }

  .pf-otel {
    grid-column: 1 / -1;
  }

  .pf-pay {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }

  .corp-header-inner {
    width: 100%;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .corp-logo {
    height: 64px;
    max-width: 150px;
  }

  .corp-meta-label {
    font-size: 0.82rem;
  }

  .corp-meta-sub {
    font-size: 0.68rem;
  }

  .btn-corp-outline {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
  }

  .corp-nav-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    width: 100%;
    max-width: none;
  }

  .corp-nav a {
    border-left: none !important;
    border-right: 1px solid var(--line);
    padding: 0 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    min-height: 48px;
    text-align: center;
  }

  .corp-nav a:last-child {
    border-right: none;
  }

  .site-main {
    width: 100%;
    padding: 1rem 0.9rem calc(1.5rem + var(--safe-bottom));
  }

  .site-footer-inner {
    width: 100%;
  }

  .page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .page-head .btn-gold,
  .page-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .page-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-sub {
    font-size: 0.88rem;
  }

  .card-panel {
    padding: 1rem;
  }

  .filter-bar {
    padding: 0.9rem;
  }

  /* iOS zoom önleme */
  .form-control,
  .form-select,
  .form-control-mobile,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }

  .table {
    font-size: 0.9rem;
  }

  #misafirTable,
  #odemeTable {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #misafirTable thead,
  #odemeTable thead {
    display: none;
  }

  .pf-field input,
  .pf-field select,
  .pf-chip input,
  .pf-date-card input {
    font-size: 16px !important;
  }

  .premium-form {
    padding: 0;
  }

  .pf-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pf-head-chips {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pf-stay {
    padding: 1rem;
  }

  .pf-stay-dates {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .pf-stay-bridge {
    flex-direction: row;
    min-width: 0;
    padding: 0.15rem 0;
  }

  .pf-bridge-line {
    flex: 1;
    width: auto;
    height: 1px;
  }

  .pf-stay-extras {
    grid-template-columns: 1fr;
  }

  .pf-columns {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .pf-card {
    padding: 1rem;
  }

  .pf-card-head-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pf-add {
    width: 100%;
  }

  .pf-grid {
    grid-template-columns: 1fr;
  }

  .pf-span-2,
  .pf-field-wide {
    grid-column: auto;
  }

  .pf-person,
  .pf-pay {
    grid-template-columns: 1fr;
  }

  .pf-person-no {
    margin-bottom: 0;
  }

  .pf-remove {
    width: 100%;
  }

  .pf-footer {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem calc(0.9rem + var(--safe-bottom));
    flex-direction: column-reverse;
  }

  .pf-footer .btn,
  .pf-cancel,
  .pf-save {
    width: 100%;
    text-align: center;
    min-width: 0;
  }

  .pager {
    flex-direction: column;
    align-items: stretch;
  }

  .pager-links {
    justify-content: center;
  }

  .teklif-card-meta {
    grid-template-columns: 1fr 1fr;
  }

  .teklif-card-meta > div:last-child {
    grid-column: 1 / -1;
  }

  .login-card-corp {
    padding: 1.6rem 1.15rem 1.4rem;
  }

  .login-logo {
    height: 96px;
  }

  .login-card-corp h1 {
    font-size: 1.3rem;
  }

  .login-lead {
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .corp-meta {
    display: none;
  }

  .corp-logo {
    height: 56px;
    max-width: 130px;
  }

  .teklif-card-actions {
    grid-template-columns: 1fr;
  }
}

/* ========== REZERVASYON / ODA / DOLULUK ========== */
.rez-Beklemede { background: #f3ecda; color: #7a6418; }
.rez-Onaylandi { background: #e7f6ec; color: #1b7a3d; }
.rez-GirisYapildi { background: #e8eef8; color: #1e3a6b; }
.rez-CikisYapildi { background: #ececec; color: #555; }
.rez-Iptal { background: #fce8e8; color: #b42318; }

.rez-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.rez-stay-extras {
  grid-template-columns: 1.6fr 160px !important;
}

.detail-grid span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.detail-grid strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.doluluk-nav {
  gap: 0.65rem;
}

.doluluk-ay {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 10rem;
  text-align: center;
  text-transform: capitalize;
}

.doluluk-wrap {
  padding: 0.85rem;
}

.doluluk-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.doluluk-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  font-size: 0.75rem;
}

.doluluk-table th,
.doluluk-table td {
  border: 1px solid #e8ebef;
  text-align: center;
  padding: 0;
  min-width: 34px;
  height: 36px;
}

.doluluk-table thead th {
  background: #fafbfc;
  font-weight: 600;
  padding: 0.35rem 0.15rem;
  vertical-align: bottom;
}

.doluluk-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 110px !important;
  max-width: 130px;
  text-align: left !important;
  padding: 0.4rem 0.55rem !important;
  border-right: 2px solid var(--gold-line) !important;
}

.doluluk-sticky strong {
  display: block;
  font-size: 0.88rem;
}

.doluluk-sticky span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.doluluk-gun {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
}

.doluluk-hafta {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
}

.doluluk-table th.is-weekend {
  background: #f7f3ea;
}

.doluluk-cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 34px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.doluluk-cell.is-empty a {
  color: #c5cad1;
}

.doluluk-cell.is-empty a:hover {
  background: #fbf8f0;
  color: var(--gold);
}

.doluluk-cell.is-full a {
  color: #fff;
}

.rez-cell-Beklemede { background: #d4b45a; }
.rez-cell-Onaylandi { background: #2f9e5b; }
.rez-cell-GirisYapildi { background: #2c4a7c; }
.rez-cell-CikisYapildi { background: #8a9098; }

.doluluk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.doluluk-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 0.35rem;
  vertical-align: -1px;
  border: 1px solid var(--line);
}

.lg-empty { background: #fff; }
.lg-bek { background: #d4b45a; border-color: #d4b45a; }
.lg-onay { background: #2f9e5b; border-color: #2f9e5b; }
.lg-giris { background: #2c4a7c; border-color: #2c4a7c; }
.lg-cikis { background: #8a9098; border-color: #8a9098; }

.doluluk-mobile-days {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.doluluk-pill {
  display: block;
  padding: 0.45rem 0.65rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .corp-nav-inner {
    display: flex !important;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  .corp-nav a {
    flex: 1 0 auto;
    min-width: 7rem;
  }
}

@media (max-width: 768px) {
  .corp-nav-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .corp-nav a {
    min-width: 0;
    font-size: 0.68rem;
    padding: 0 0.25rem;
  }

  .doluluk-nav {
    width: 100%;
  }

  .doluluk-ay {
    width: 100%;
    order: -1;
  }

  .rez-stay-extras {
    grid-template-columns: 1fr !important;
  }
}

/* ========== DASHBOARD ========== */
.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

.dash-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.dash-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.dash-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: capitalize;
}

.dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dash-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.dash-stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dash-stat-free {
  border-top: 3px solid #2f9e5b;
}

.dash-stat-busy {
  border-top: 3px solid #b42318;
}

.dash-stat-total {
  border-top: 3px solid var(--gold);
}

.dash-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.dash-stat-free .dash-stat-num { color: #1b7a3d; }
.dash-stat-busy .dash-stat-num { color: #b42318; }

.dash-stat-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

.dash-section {
  margin-bottom: 1.75rem;
}

.dash-section-head {
  margin-bottom: 0.9rem;
}

.dash-section-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.dash-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-banner {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.dash-banner-full {
  border-top: 3px solid #b42318;
  color: #b42318;
}

.dash-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.dash-room {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.1rem 1.1rem;
}

.dash-room-free {
  border-top: 3px solid #2f9e5b;
  background: linear-gradient(180deg, #f7fbf8 0%, #fff 42%);
}

.dash-room-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1b7a3d;
  background: #e7f6ec;
  padding: 0.25rem 0.45rem;
}

.dash-room h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.dash-room-type {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.dash-room-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.dash-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.55rem;
}

.dash-day {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem 0.55rem;
  min-height: 110px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.dash-day:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.dash-day.is-today {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.dash-day.is-all-free {
  background: #f4faf6;
  border-color: #cfe8d8;
}

.dash-day.is-partial {
  background: #fffdf7;
  border-color: #e8dcb8;
}

.dash-day.is-full {
  background: #fdf4f4;
  border-color: #efc8c8;
}

.dash-day-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-day-date {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: capitalize;
}

.dash-day-free {
  margin-top: auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1b7a3d;
}

.dash-day.is-full .dash-day-free {
  color: #b42318;
}

.dash-day-busy {
  font-size: 0.75rem;
  color: var(--muted);
}

.dash-busy-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dash-busy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid #b42318;
  padding: 0.85rem 1rem;
}

.dash-busy-row strong {
  display: block;
  font-size: 1rem;
}

.dash-busy-row > div > span {
  color: var(--muted);
  font-size: 0.88rem;
}

.dash-busy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.dash-busy-meta a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 160, 53, 0.45);
}

@media (max-width: 992px) {
  .dash-days {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-hero-actions .btn {
    flex: 1;
  }

  .dash-summary {
    grid-template-columns: 1fr;
  }

  .dash-days {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-busy-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== MÜŞTERİ SEÇİCİ ========== */
.musteri-picker {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef0f3;
  position: relative;
}

.musteri-ara-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e1e5ea;
  background: #fafbfc;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.musteri-ara-input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 160, 53, 0.12);
}

.musteri-sonuc {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  margin-top: -0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  max-height: 240px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.musteri-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f2f4;
}

.musteri-item:hover {
  background: #fbf8f0;
}

.musteri-empty {
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.musteri-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.65rem 0;
}

.musteri-picker-actions a {
  text-decoration: none;
}

.musteri-kaydet-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
  margin: 0;
}

.musteri-kaydet-check input {
  width: auto;
  min-height: 0;
}

