/* =================================================================
   ADVERTORIAL SITE 2 - SOLIDARITY NETWORK & MINIMAL FORMAT
   Matches the partner's exact requested mock-up layout & style
   ================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #152028; /* The exact dark teal from the uploaded image */
  color: #e2e8f0;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px 18px;
}

/* =================================================================
   HEADER
   ================================================================= */
.header {
  text-align: center;
  padding: 8px 0 20px;
}

.site-title {
  color: #ffffff;
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  user-select: none;
  margin-bottom: 4px;
}

.site-tagline {
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* =================================================================
   3-COLUMN MAIN LAYOUT
   ================================================================= */
.main-layout {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  gap: 20px;
  align-items: stretch;
  flex: 1;
  min-height: 540px;
}

/* Navigation Columns */
.nav-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

/* =================================================================
   CHEVRON ARROW BUTTONS (EXACT REPLICATION OF MOCK-UP)
   ================================================================= */
.chevron-btn {
  background-color: #2c404e; /* Slate teal from the mockup */
  color: #ffffff;
  border: none;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease, transform 0.1s ease;
  user-select: none;
}

/* Left Buttons Point Inward to the Right */
.btn-left {
  clip-path: polygon(0% 0%, calc(100% - 28px) 0%, 100% 50%, calc(100% - 28px) 100%, 0% 100%);
  padding-left: 28px;
  padding-right: 36px;
  text-align: left;
  justify-content: flex-start;
}

/* Right Buttons Point Inward to the Left */
.btn-right {
  clip-path: polygon(28px 0%, 100% 0%, 100% 100%, 28px 100%, 0% 50%);
  padding-right: 28px;
  padding-left: 36px;
  text-align: right;
  justify-content: flex-end;
}

.chevron-btn:hover {
  background-color: #395264;
}

.chevron-btn.active {
  background-color: #1a5b80;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.chevron-btn:active {
  transform: scale(0.98);
}

/* =================================================================
   CENTER STAGE: SIMPLE & FUNCTIONAL
   ================================================================= */
.center-stage {
  background-color: #192631;
  border: 1px solid #2a3d4d;
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Tab Panels */
.tab-panel {
  display: none;
  height: 100%;
  flex-direction: column;
}

.tab-panel.active {
  display: flex;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #283c4c;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.panel-subtext {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.btn-back {
  background: #2c404e;
  color: #ffffff;
  border: 1px solid #3c5466;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
}

.btn-back:hover {
  background: #395264;
}

/* Solidarity Notice Box */
.solidarity-notice {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #bae6fd;
  line-height: 1.5;
  margin-bottom: 14px;
}

.solidarity-notice strong {
  color: #38bdf8;
}

.panel-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Search input */
.search-input {
  background: #101920;
  border: 1px solid #2c404e;
  border-radius: 3px;
  padding: 8px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  width: 280px;
  outline: none;
}

.search-input:focus {
  border-color: #38bdf8;
}

/* Sites Table */
.table-container {
  flex: 1;
  overflow-y: auto;
  max-height: 480px;
  border: 1px solid #253745;
  background: #141f27;
}

.sites-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.sites-table th {
  background: #1a2833;
  color: #94a3b8;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #2c404e;
}

.sites-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #1e2e3b;
  color: #cbd5e1;
}

.sites-table tr:hover {
  background: #1d2c38;
}

.site-name-cell {
  font-weight: bold;
  color: #ffffff;
}

.site-domain-sub {
  font-size: 0.74rem;
  color: #64748b;
  display: block;
}

/* Age & Metrics Badges */
.age-badge {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 0.76rem;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #2d3f4e;
  display: inline-block;
  white-space: nowrap;
}

.da-badge {
  background: #0f3044;
  color: #38bdf8;
  font-weight: bold;
  font-size: 0.78rem;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #1e4f6e;
  display: inline-block;
  white-space: nowrap;
}

.dr-badge {
  background: #2b1f3d;
  color: #c084fc;
  font-weight: bold;
  font-size: 0.78rem;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #4a286e;
  display: inline-block;
  white-space: nowrap;
}

.price-text {
  font-weight: bold;
  color: #4ade80;
}

/* Mail At Button (Replaces Order Button) */
.btn-mail-action {
  background: #233441;
  color: #38bdf8;
  border: 1px solid #365063;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-mail-action:hover {
  background: #2c4456;
  color: #ffffff;
  border-color: #38bdf8;
}

/* Forms */
.simple-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: bold;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #111a21;
  border: 1px solid #2c404e;
  border-radius: 3px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #38bdf8;
}

.submit-btn {
  background: #2c404e;
  color: #ffffff;
  border: 1px solid #3c5466;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 6px;
  transition: background 0.15s ease;
}

.submit-btn:hover {
  background: #395264;
}

/* Articles and Rules */
.text-article {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-y: auto;
  max-height: 480px;
  padding-right: 10px;
}

.rules-list {
  padding-left: 20px;
}

.rules-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Contact Box */
.contact-box {
  background: #131d25;
  border: 1px solid #273947;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
}

.contact-row strong {
  color: #ffffff;
}

/* =================================================================
   FOOTER (EXACT MOCK-UP MATCH)
   ================================================================= */
.footer {
  text-align: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding-top: 24px;
}

.footer a {
  color: #cbd5e1;
  text-decoration: underline;
  margin-left: 2px;
}

/* =================================================================
   RESPONSIVE DESIGN (MOBIL GÖRÜNÜM)
   ================================================================= */
@media (max-width: 1050px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-left .chevron-btn,
  .nav-right .chevron-btn {
    clip-path: none;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    height: auto;
    font-size: 1.1rem;
    border-radius: 4px;
  }

  .center-stage {
    order: -1;
    min-height: 420px;
  }

  .site-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .search-input {
    width: 100%;
  }

  .panel-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =================================================================
   PREVIEW GATE (ÖN İZLEME VE ONAY KİLİT EKRANI)
   ================================================================= */
.preview-gate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, #182833 0%, #0d1419 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.preview-gate.unlocked {
  display: none !important;
}

.gate-card {
  background: #15222c;
  border: 1px solid #283d4e;
  border-radius: 8px;
  width: 100%;
  max-width: 440px;
  padding: 36px 30px 28px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.gate-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.gate-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.gate-badge {
  display: inline-block;
  background: rgba(215, 8, 83, 0.15);
  color: #ff3b7b;
  border: 1px solid rgba(215, 8, 83, 0.4);
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.gate-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.gate-input-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.gate-input-wrapper input {
  flex: 1;
  background: #0d151c;
  border: 1px solid #283d4e;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.gate-input-wrapper input:focus {
  border-color: #38bdf8;
}

.gate-submit-btn {
  background: #d70853;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.gate-submit-btn:hover {
  background: #b50644;
}

.gate-error {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 12px;
}

.gate-hint {
  margin-top: 22px;
  font-size: 0.78rem;
  color: #64748b;
  border-top: 1px solid #1f303e;
  padding-top: 14px;
}

