/* Ana Stiller */

/* Admin Panel Stilleri */
.admin-header {
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
}

.admin-header .logo h1 {
  color: var(--text-light);
  font-size: 1.5rem;
}

.admin-header nav ul li a {
  color: var(--text-light);
  font-weight: bold;
}

.admin-header nav ul li a:hover {
  color: var(--accent-color);
}

.admin-container {
  padding: 2rem;
}

.admin-title {
  margin-bottom: 2rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

/* Landing Sayfası Stilleri */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Features Section */
.features-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}
.modal-title{
  color: var(--dark-bg);
}
.p{
  color: var(--dark-bg);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* About Section */
.about-section {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.about-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* Auth Stilleri */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(180deg, #0b0f1a, #0e1424);
}

.auth-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 1080px;
}

.auth-hero {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.hero-logo {

  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(96,165,250,.35));
}
.hero-titles {
  text-align: center;
  margin-bottom: 8px;
}
.hero-title {
  color: #e5e7eb;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .5px;
}
.hero-subtitle {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
}
.hero-accent {
  height: 2px;
  width: 140px;
  margin: 14px auto 4px auto;
  background: linear-gradient(90deg, rgba(59,130,246,.75), rgba(96,165,250,.65), rgba(139,92,246,.65));
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(96,165,250,.45);
}

.auth-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  width: 100%;
  max-width: 460px;
}

.auth-title {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.auth-form .form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-size: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}
.auth-form .form-control::placeholder {
  color: #94a3b8;
}

.auth-form .btn-block {
  width: 100%;
  margin-top: 1rem;
}
.auth-card .btn-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(96, 165, 250, 0.18));
  color: #e5e7eb;
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.auth-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}
:root {
  --primary-color: #1e3a8a; /* Koyu mavi */
  --secondary-color: #3b82f6; /* Mavi */
  --accent-color: #60a5fa; /* Açık mavi */
  --dark-bg: #0f172a; /* Koyu arka plan */
  --dark-surface: #1e293b; /* Koyu yüzey */
  --text-light: #f8fafc; /* Açık metin */
  --text-muted: #94a3b8; /* Soluk metin */
  --danger-color: #ef4444; /* Kırmızı */
  --success-color: #22c55e; /* Yeşil */
  --warning-color: #f59e0b; /* Turuncu */
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--dark-surface);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

nav ul li a i {
  margin-right: 0.5rem;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 1rem 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--dark-surface);
  color: var(--text-light);
  border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.btn-danger {
  background-color: var(--danger-color);
  color: var(--text-light);
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-success {
  background-color: var(--success-color);
  color: var(--text-light);
}

.btn-success:hover {
  background-color: #16a34a;
}

/* Dashboard */
.dashboard {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.dashboard h2 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--text-light);
}

.stat-info h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-info p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Masa Yönetimi */
.masa-yonetimi {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.masa-yonetimi h2 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.canvas-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.canvas-tools {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.transform-tools {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

#canvas {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  height: auto;
  grid-column: 1;
}

.object-properties {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  grid-column: 2;
}

.object-properties h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.hidden {
  display: none;
}

.info-message {
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.object-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.list-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.list-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.list-group {
  list-style: none;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list-item span {
  display: flex;
  flex-direction: column;
}

.masa-baglanti {
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-top: 0.25rem;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-edit, .btn-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-edit {
  color: var(--accent-color);
}

.btn-edit:hover {
  color: var(--secondary-color);
}

.btn-delete {
  color: var(--danger-color);
}

.btn-delete:hover {
  color: #dc2626;
}

/* Error Pages */
.error-container {
  text-align: center;
  padding: 3rem;
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  font-size: 4rem;
  color: var(--warning-color);
  margin-bottom: 1rem;
}

.error-code {
  font-size: 6rem;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-container h2 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.error-container p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .canvas-container {
    grid-template-columns: 1fr;
  }
  
  .object-properties {
    grid-column: 1;
  }
  
  .transform-tools {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* Öğrenci Yönetimi Stilleri */
.student-form {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.filter-controls input,
.filter-controls select {
  padding: 0.75rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
}

.students-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.students-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}



.students-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.students-table th,
.students-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.students-table th {
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--accent-color);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.students-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.students-table .actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.btn-edit {
  background-color: var(--accent-color);
  color: white;
  border: none;
}

.btn-edit:hover {
  background-color: var(--secondary-color);
}

.btn-delete {
  background-color: var(--danger-color);
  color: white;
  border: none;
}

.btn-delete:hover {
  background-color: #dc2626;
}

/* Responsive Öğrenci Yönetimi */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .filter-controls {
    grid-template-columns: 1fr;
  }
  
  .students-table {
    font-size: 0.8rem;
  }
  
  .students-table th,
  .students-table td {
    padding: 0.5rem;
  }
}

/* Students Header Styles */
.students-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.students-header h3 {
  margin: 0;
  color: var(--text-light);
}

#exportToExcel {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

#exportToExcel:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

#exportToExcel:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .students-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #exportToExcel {
    width: 100%;
    justify-content: center;
  }
}
.su-container { padding-top: 10px; }
.su-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.su-toolbar { display: flex; gap: 10px; }
.su-input { background: #0b1324; border: 1px solid #1f2a44; color: var(--text-light); padding: 10px 12px; border-radius: 8px; min-width: 280px; outline: none; }
.su-input::placeholder { color: #94a3b8; }
.su-card { background: #0b1324; border: 1px solid #1f2a44; border-radius: 14px; box-shadow: 0 10px 20px rgba(0,0,0,0.25); }
.su-table-wrapper { overflow: auto; max-height: 65vh; }
.su-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.su-table thead th { position: sticky; top: 0; background: linear-gradient(180deg, #0f1a33, #0b1324); color: #cbd5e1; text-align: left; padding: 12px; font-weight: 600; border-bottom: 1px solid #1f2a44; z-index: 1; }
.su-table tbody td { padding: 12px; color: var(--text-light); border-bottom: 1px solid #14203a; }
.su-table tbody tr { transition: background 0.2s ease; }
.su-table tbody tr:hover { background: rgba(31, 41, 55, 0.35); }
.su-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.su-badge-warning { background: #f59e0b20; color: #fbbf24; border: 1px solid #f59e0b40; }
.su-badge-danger { background: #ef444420; color: #f87171; border: 1px solid #ef444440; }
.su-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; font-weight: 600; }
.su-btn-danger { background: #7f1d1d; color: #fecaca; border-color: #ef4444; }
.su-btn-danger:hover { background: #991b1b; }
.su-empty { display: flex; align-items: center; gap: 8px; padding: 16px; color: #93c5fd; }

@media (max-width: 768px) {
  .su-input { min-width: 180px; width: 100%; }
  .su-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* -------------------------------------------------------------------------- */
/* Landing — sandalye / plan modalları (contentFor styles → static bundle)   */
/* -------------------------------------------------------------------------- */

/* Sandalye özeti — açık tema (site ana renkleriyle uyumlu) */
.rez-panel-selection {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.rez-panel-selection h6 {
  color: #6366f1;
}

.rez-panel-selection .text-label {
  color: #64748b;
}

.rez-panel-selection .text-value {
  color: #0f172a;
}

/* Mobil uyarı düzenlemeleri */
#genderWarningMobile {
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobil cihazlarda uyarı alanını optimize et */
@media (max-width: 991.98px) {
  #genderWarningMobile {
    margin: 0.75rem !important;
    font-size: 0.9rem;
  }

  #genderWarningMobile .small {
    font-size: 0.8rem !important;
  }
}

/* Çok küçük ekranlarda */
@media (max-width: 576px) {
  #genderWarningMobile {
    margin: 0.5rem !important;
    font-size: 0.85rem;
  }

  #genderWarningMobile h6 {
    font-size: 1rem !important;
  }
}

/* Canvas Responsive Kuralları */
.modal-dialog.modal-fullscreen-lg-down {
  margin: 0;
  max-width: 100%;
  height: 100vh;
}

/* Sadece sandalye canvas tam ekran modalları — diğer (açık tema) modalları bozma */
#rezervasyonModal .modal-content,
#mobileFullscreenModal .modal-content,
.modal-dialog.modal-fullscreen .modal-content {
  height: 100%;
  border-radius: 0;
}

#rezervasyonModal .modal-body,
#mobileFullscreenModal .modal-body,
.modal-dialog.modal-fullscreen .modal-body {
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#rezervasyonModal .rez-modal-row {
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 991.98px) {
  #rezervasyonModal .col-lg-3 {
    max-height: 42vh;
    overflow-y: auto;
  }
}

/* Canvas Container Responsive */
.rez-canvas-viewport {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #ffffff;
}

.rez-canvas-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: min(52vh, 640px);
  padding: 1rem;
}

canvas.rez-plan-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #fff;
  touch-action: manipulation;
}

@media (max-width: 576px) {
  #mobileFullscreenModal .rez-fs-floating-panel {
    top: auto !important;
    bottom: 0.75rem !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    max-height: 42vh;
    overflow-y: auto;
  }
}

.canvas-container {
  min-height: 400px;
  max-height: 70vh;
  overflow: auto;
}

#rezervasyonCanvas:not(.rez-canvas-bitmap):not(.masa-plan-canvas-bitmap) {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Desktop için canvas boyutları (eski akış; plan v2 bitmap modal hariç) */
@media (min-width: 992px) {
  .canvas-container {
    min-height: 500px;
    max-height: 75vh;
  }

  #rezervasyonCanvas:not(.rez-canvas-bitmap):not(.masa-plan-canvas-bitmap) {
    width: 100%;
    max-width: 800px;
    height: auto;
  }
}

/* Tablet için canvas boyutları */
@media (min-width: 768px) and (max-width: 991.98px) {
  .canvas-container {
    min-height: 450px;
    max-height: 65vh;
  }

  #rezervasyonCanvas:not(.rez-canvas-bitmap):not(.masa-plan-canvas-bitmap) {
    width: 100%;
    max-width: 700px;
    height: auto;
  }

  .modal-dialog.modal-fullscreen {
    max-width: 95%;
    margin: 1rem auto;
  }
}

/* Mobil için canvas boyutları */
@media (max-width: 767.98px) {
  .canvas-container {
    min-height: 350px;
    max-height: 60vh;
    padding: 1rem !important;
  }

  #rezervasyonCanvas:not(.rez-canvas-bitmap):not(.masa-plan-canvas-bitmap) {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .modal-dialog.modal-fullscreen,
  #rezervasyonModal .modal-dialog,
  #mobileFullscreenModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100vh;
  }

  #rezervasyonModal .modal-content,
  #mobileFullscreenModal .modal-content,
  .modal-dialog.modal-fullscreen .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .row.g-0 {
    height: 100vh !important;
  }

  /* Mobil warning pozisyonu */
  #genderWarningMobile {
    top: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2rem) !important;
    max-width: 400px !important;
  }
}

/* Çok küçük ekranlar için */
@media (max-width: 576px) {
  .canvas-container {
    min-height: 300px;
    max-height: 55vh;
    padding: 0.5rem !important;
  }

  #rezervasyonCanvas:not(.rez-canvas-bitmap):not(.masa-plan-canvas-bitmap) {
    width: 100%;
    height: auto;
  }

  /* Info panel mobilde daha kompakt (sadece sandalye tam ekran modalları) */
  #rezervasyonModal .col-lg-4,
  #mobileFullscreenModal .col-lg-4 {
    padding: 1rem !important;
  }

  #rezervasyonModal .alert,
  #mobileFullscreenModal .alert {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  #rezervasyonModal .btn,
  #mobileFullscreenModal .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

/* Canvas scroll davranışı */
.canvas-container {
  /* Touch scroll için gerekli özellikler */
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior: contain;
}

.canvas-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.canvas-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.canvas-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.canvas-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Mobil touch scroll optimizasyonları */
@media (max-width: 767.98px) {
  .canvas-container {
    /* Momentum scrolling aktif */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;

    /* Touch davranışları - scroll için optimize */
    touch-action: auto !important;
    overscroll-behavior: contain;

    /* Scroll performansı */
    will-change: scroll-position;
    transform: translateZ(0);

    /* Scroll bar gizle (mobilde) */
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Scroll sınırları */
    overflow-x: auto;
    overflow-y: auto;
  }

  .canvas-container::-webkit-scrollbar {
    display: none;
  }

  /* Modal body scroll — sadece canvas modalları */
  #rezervasyonModal .modal-body,
  #mobileFullscreenModal .modal-body,
  .modal-dialog.modal-fullscreen .modal-body {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    touch-action: auto;
    position: relative;
    height: 100%;
  }

  #rezervasyonCanvas.rez-plan-canvas,
  #rezervasyonCanvasMobile.rez-plan-canvas {
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  /* Eski kurallar kaldırıldı — ölçek canvas.rez-plan-canvas ile */

  /* Modal fullscreen mobilde */
  .modal-fullscreen {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen .modal-content {
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  /* Row height mobilde */
  .row.g-0 {
    height: calc(100vh - 60px) !important;
  }

  /* Canvas area mobilde */
  .col-lg-9 {
    height: 100% !important;
    overflow: hidden;
  }
}

/* Mobil plan kaydırma — absolute yerine akış içi (rez-canvas-viewport ile) */
.mobile-scroll-area {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 52vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10;
  scroll-behavior: smooth;
  overscroll-behavior: contain;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-scroll-area::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#rezervasyonCanvasMobile {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

/* iOS Safari için özel düzeltmeler */
@supports (-webkit-touch-callout: none) {
  .canvas-container {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    /* Hardware acceleration */
  }

  #rezervasyonModal .modal-body,
  #mobileFullscreenModal .modal-body,
  .modal-dialog.modal-fullscreen .modal-body {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
  }

  .mobile-scroll-area {
    -webkit-overflow-scrolling: touch !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* Genel Modal Responsive Tasarım */
@media (max-width: 768px) {

  /* Alert Modal */
  .modal-dialog:not(.modal-fullscreen) {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }

  .modal-content {
    border-radius: 12px;
  }

  #rezervasyonModal .modal-content,
  #mobileFullscreenModal .modal-content,
  .modal-dialog.modal-fullscreen .modal-content {
    border-radius: 0;
  }

  .modal-header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .btn-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }

  .modal-body {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .modal-footer {
    padding: 1rem;
    justify-content: center;
  }

  .modal-footer .btn {
    min-width: 120px;
  }

  /* Sandalye Seçim Başlangıç Modal */
  #chairSelectionStartModal .modal-body {
    padding: 1.5rem 1rem;
  }

  #chairSelectionStartModal .modal-body i {
    font-size: 3rem !important;
  }

  #chairSelectionStartModal h4 {
    font-size: 1.3rem;
  }

  #chairSelectionStartModal .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Rezervasyon Başarı Modal */
  #reservationSuccessModal .modal-body {
    padding: 1.5rem 1rem;
  }

  #reservationSuccessModal .modal-body i {
    font-size: 3rem !important;
  }

  #reservationSuccessModal h4 {
    font-size: 1.3rem;
  }

  #reservationSuccessModal .reservation-details {
    padding: 1rem;
    margin: 1rem 0;
  }

  #reservationSuccessModal .detail-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }

  #reservationSuccessModal .btn {
    padding: 0.75rem 1rem;
    margin: 0.25rem;
    min-width: 140px;
  }

  /* Öğrenci Seçim Modal */
  #studentSelectionModal .student-card {
    margin-bottom: 1rem;
  }

  #studentSelectionModal .card-body {
    padding: 1rem;
  }

  #studentSelectionModal .bg-primary {
    width: 50px !important;
    height: 50px !important;
  }

  #studentSelectionModal .fs-4 {
    font-size: 1.2rem !important;
  }

  #studentSelectionModal .card-title {
    font-size: 1rem;
  }

  #studentSelectionModal .card-text {
    font-size: 0.8rem;
  }

  /* Rezervasyon Listesi Modal */
  .modal-xl {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem;
  }

  .reservation-card {
    margin-bottom: 1rem;
  }

  .reservation-card .row {
    text-align: center;
  }

  .reservation-card .col-md-3 {
    margin-bottom: 0.5rem;
  }

  .reservation-card .fw-bold {
    font-size: 0.9rem;
  }

  .reservation-card small {
    font-size: 0.75rem;
  }

  .badge {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* ========== Sandalye seçimi — plan v2 (zoom, pan, responsive) ========== */
#rezervasyonModal.modal .modal-dialog.modal-fullscreen,
#mobileFullscreenModal.modal .modal-dialog.modal-fullscreen {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.rez-seat-modal {
  background: #ffffff;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.rez-seat-toolbar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #c5cad3;
  background: linear-gradient(180deg, #e8eaef 0%, #dde1e8 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.rez-toolbar-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.65rem;
}

.rez-toolbar-zoom-wrap {
  padding: 0 1rem 0.85rem;
  border-top: 1px solid #c5cad3;
  background: rgba(255, 255, 255, 0.35);
}

.rez-zoom-strip-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.rez-seat-back {
  min-height: 48px;
  min-width: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  text-decoration: none !important;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.rez-seat-back i {
  opacity: 0.95;
  font-size: 1rem;
}

.rez-seat-back-label {
  white-space: nowrap;
}

.rez-seat-back-label--short {
  display: none;
}

.rez-seat-back-label--full {
  display: inline;
}

.rez-zoom-lbl-short {
  display: none;
}

.rez-zoom-lbl-full {
  display: inline;
}

.rez-seat-back:focus-visible,
.rez-zoom-btn:focus-visible {
  outline: 2px solid #a5b4fc;
  outline-offset: 2px;
}

.rez-seat-back:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.rez-seat-back:active {
  transform: scale(0.98);
}

.rez-seat-back--close {
  background: #fff;
  border-color: #fecaca;
  color: #b91c1c !important;
}

.rez-seat-back--close:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #991b1b !important;
}

.rez-seat-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
}

.rez-seat-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.rez-seat-brand-text {
  min-width: 0;
}

.rez-seat-title {
  font-size: clamp(1.05rem, 3.2vw, 1.45rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.rez-seat-sub {
  margin: 0.2rem 0 0;
  font-size: clamp(0.72rem, 2.6vw, 0.88rem);
  color: #64748b;
  line-height: 1.4;
}

.rez-seat-zoom {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.rez-zoom-btn {
  min-height: 48px;
  min-width: 48px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
  border: 1px solid #cbd5e1;
  font-weight: 650;
  font-size: 0.82rem;
  line-height: 1.2;
}

.rez-zoom-btn i {
  font-size: 0.95rem;
  opacity: 0.95;
}

.rez-zoom-btn-text {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.rez-zoom-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.rez-zoom-btn:active {
  transform: scale(0.97);
}

.rez-zoom-btn--icononly {
  padding: 0;
  width: 48px;
  min-width: 48px;
}

.rez-zoom-btn--icononly .rez-zoom-btn-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.rez-zoom-meter {
  min-height: 48px;
  min-width: 5.5rem;
  padding: 0 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rez-zoom-meter-cap {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6366f1;
  line-height: 1;
  margin-bottom: 2px;
}

.rez-zoom-pct {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1rem;
  color: #4338ca;
  line-height: 1.1;
}

.rez-zoom-btn--wide {
  width: auto;
  padding: 0 14px;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: center;
}

@media (min-width: 576px) {
  .rez-seat-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.75rem 1rem;
  }

  .rez-toolbar-top {
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
  }

  .rez-toolbar-zoom-wrap {
    padding: 0;
    border-top: none;
    background: transparent;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }

  .rez-seat-zoom {
    margin-left: 0;
    padding: 0.35rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    gap: 0.35rem;
  }

  .rez-zoom-btn--wide {
    flex: 0 0 auto;
  }
}

@media (min-width: 992px) {
  .rez-seat-toolbar {
    flex-wrap: nowrap;
  }

  .rez-toolbar-zoom-wrap {
    flex-direction: row;
    align-items: center;
  }

  .rez-zoom-strip-label {
    display: block;
    margin-bottom: 0;
    margin-right: 0.5rem;
    align-self: center;
  }
}

.rez-toast-banner {
  margin: 0 1rem;
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  position: relative;
  z-index: 19;
}

.rez-seat-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden !important;
}

.rez-seat-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .rez-seat-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .rez-seat-map {
    min-height: min(58vh, 760px);
  }

  .rez-seat-sidebar {
    width: 100%;
    max-width: none;
    max-height: min(34vh, 320px);
    border-inline-start: none;
    border-top: 1px solid #adb5bd;
  }
}

.rez-seat-map {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.rez-plan-viewport {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden !important;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  background: #ffffff;
}

.rez-plan-viewport:active {
  cursor: grabbing;
}

.rez-plan-transform {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}

/* Plan v2 (bitmap): eski kuralların max-width:800px / margin:auto etkisini kesin olarak kaldır */
#rezervasyonModal .rez-plan-viewport > canvas.rez-canvas-bitmap,
#rezervasyonModal .rez-plan-viewport > canvas.masa-plan-canvas-bitmap,
#mobileFullscreenModal .rez-plan-viewport > canvas.rez-canvas-bitmap,
#mobileFullscreenModal .rez-plan-viewport > canvas.masa-plan-canvas-bitmap {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Modal plan: kenar boşluğu hissi azalt — canvas viewport’u doldurur */
#rezervasyonModal .rez-plan-viewport canvas.rez-canvas-bitmap,
#rezervasyonModal .rez-plan-viewport canvas.masa-plan-canvas-bitmap,
#mobileFullscreenModal .rez-plan-viewport canvas.rez-canvas-bitmap,
#mobileFullscreenModal .rez-plan-viewport canvas.masa-plan-canvas-bitmap {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Plan: masa ile aynı — canvas viewport’u doldurur; pan/zoom ctx içinde */
.rez-plan-viewport canvas.rez-canvas-bitmap,
.rez-plan-viewport canvas.masa-plan-canvas-bitmap {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #eef2f7;
}

.rez-seat-sidebar {
  flex: 0 0 auto;
  background: linear-gradient(180deg, #e8eaef 0%, #e2e5ec 100%);
  border-top: 1px solid #c5cad3;
  color: #334155;
  max-height: min(44vh, 420px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rez-seat-sidebar.border-secondary {
  border-color: #adb5bd !important;
}

.rez-seat-side-inner {
  padding: 1rem 1.1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
  .rez-seat-side-inner {
    padding: 0.95rem 1.2rem;
  }
}

.rez-side-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #1e293b;
}

.rez-legend li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: #475569;
}

.rez-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.rez-dot--free {
  background: #22c55e;
}

.rez-dot--busy {
  background: #ef4444;
}

.rez-dot--sel {
  background: #eab308;
}

#mobileFullscreenModal .rez-seat-body {
  height: calc(100dvh - var(--rez-fs-header-h, 56px));
}

#mobileFullscreenModal .rez-viewport-fullscreen {
  min-height: 280px;
}

.rez-fs-floating-panel-v2 {
  position: fixed;
  z-index: 1086;
  max-width: min(340px, calc(100vw - 1.5rem));
}

@media (min-width: 576px) {
  #mobileFullscreenModal .rez-fs-floating-panel-v2 {
    top: 5.5rem !important;
    right: 1rem !important;
    left: auto !important;
    bottom: auto !important;
    max-height: min(420px, calc(100dvh - 8rem));
    overflow-y: auto;
  }
}

@media (max-width: 575.98px) {
  .rez-fs-floating-panel-v2 {
    left: 0.5rem !important;
    right: 0.5rem !important;
    top: auto !important;
    bottom: 0.75rem !important;
    width: auto !important;
    max-height: 38vh;
    overflow-y: auto;
  }

  .rez-toolbar-top {
    padding: 0.7rem 0.85rem 0.55rem;
  }

  .rez-toolbar-zoom-wrap {
    padding: 0.55rem 0.85rem 0.8rem;
  }

  .rez-seat-zoom {
    width: 100%;
    justify-content: center;
    gap: 0.45rem;
  }

  .rez-zoom-btn-text .rez-zoom-lbl-full {
    display: none !important;
  }

  .rez-zoom-btn-text .rez-zoom-lbl-short {
    display: inline !important;
  }

  .rez-seat-back .rez-seat-back-label--full {
    display: none !important;
  }

  .rez-seat-back .rez-seat-back-label--short {
    display: inline !important;
  }

  .rez-zoom-btn--wide {
    flex: 1 1 100%;
    max-width: 100%;
    order: 5;
    margin-top: 0.15rem;
  }
}
/* Landing: anasayfa haber — tam genişlik showcase (orta büyük, yan küçük önizleme) */
.landing-haber-wrap {
  margin-top: 76px;
  position: relative;
  z-index: 1;
  padding: 0;
  background: #ffffff;
}

.landing-haber-wrap--showcase {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.landing-haber-fullbleed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.35);
  background: #ffffff;
}

.landing-haber-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.landing-haber-eyebrow--overlay {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  right: auto;
  z-index: 8;
  padding: 0.45rem 0.85rem;
  color: #fff;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .landing-haber-eyebrow--overlay {
    top: max(0.9rem, env(safe-area-inset-top));
    left: max(1.25rem, env(safe-area-inset-left));
    padding: 0.5rem 1rem;
  }
}

.landing-haber-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.landing-haber-showcase {
  /* Görseller gerçek en-boy oranında; yükseklik slayttaki görsele göre büyür */
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.65rem);
  padding: 0.45rem max(0.35rem, env(safe-area-inset-left)) 1.85rem max(0.35rem, env(safe-area-inset-right));
  background: #ffffff;
}

.landing-haber-show-viewport {
  flex: 1;
  min-width: 0;
}

.landing-haber-show-stage {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1.5vw, 1.1rem);
}

.landing-haber-show-cell {
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 40px -16px rgba(15, 23, 42, 0.45);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease, filter 0.45s ease;
}

.landing-haber-show-cell--side-left,
.landing-haber-show-cell--side-right {
  flex: 0 1 24%;
  max-width: 340px;
  transform: scale(0.82);
  opacity: 0.9;
  z-index: 1;
  filter: saturate(0.95);
}

.landing-haber-show-cell--main {
  flex: 1 1 52%;
  min-width: 0;
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  filter: none;
}

@media (max-width: 767.98px) {
  .landing-haber-showcase {
    padding: 0.5rem max(2.6rem, env(safe-area-inset-left)) 2.35rem max(2.6rem, env(safe-area-inset-right));
    gap: 0;
    align-items: stretch;
  }

  /* Yan önizlemeler: dar ekranda tek slayt — ortadaki tam genişlik */
  .landing-haber-show-cell--side-left,
  .landing-haber-show-cell--side-right {
    display: none !important;
  }

  .landing-haber-show-cell--main {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .landing-haber-show-stage {
    gap: 0;
    width: 100%;
  }

  .landing-haber-show-viewport {
    flex: 1;
    min-width: 0;
  }

  .landing-haber-hero-copy {
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .landing-haber-show-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 2.25rem !important;
    height: 2.25rem !important;
    transform: translateY(-50%);
  }

  .landing-haber-show-arrow--prev {
    left: max(0.2rem, env(safe-area-inset-left));
  }

  .landing-haber-show-arrow--next {
    right: max(0.2rem, env(safe-area-inset-right));
  }

  .landing-haber-show-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .landing-haber-show-dots {
    bottom: max(0.35rem, env(safe-area-inset-bottom));
  }
}

.landing-haber-show-arrow {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-haber-show-arrow:hover {
  background: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.18);
}

.landing-haber-show-arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.65);
}

.landing-haber-show-arrow-icon {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-left: 2.5px solid #334155;
  border-bottom: 2.5px solid #334155;
  transform: rotate(45deg);
  margin-left: 0.18rem;
}

.landing-haber-show-arrow-icon--next {
  transform: rotate(-135deg);
  margin-left: -0.18rem;
}

.landing-haber-show-dots {
  position: absolute;
  left: 50%;
  bottom: max(0.5rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
  z-index: 9;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.1);
}

.landing-haber-show-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.landing-haber-show-dot.is-active {
  width: 1.35rem;
  background: #334155;
}

.landing-haber-slide-link,
.landing-haber-slide-link--static {
  display: block !important;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden !important;
  color: inherit !important;
  outline: none;
  text-decoration: none !important;
}

.landing-haber-slide-link:hover {
  color: inherit !important;
}

.landing-haber-slide-link--static {
  cursor: default;
}

.landing-haber-slide-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(96, 165, 250, 0.85);
}

.landing-haber-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.landing-haber-hero-media {
  position: relative;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  line-height: 0;
}

.landing-haber-slide-img {
  position: relative;
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(85vh, 1000px);
  margin: 0 auto;
  object-fit: contain;
}

.landing-haber-hero-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 28%,
    transparent 42%,
    transparent 52%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.landing-haber-hero-shade::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.landing-haber-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 max(1rem, env(safe-area-inset-left)) max(1.35rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  padding-bottom: calc(2.85rem + env(safe-area-inset-bottom));
  pointer-events: none;
  text-align: left;
}

@media (min-width: 768px) {
  .landing-haber-hero-copy {
    padding: 0 max(1.75rem, env(safe-area-inset-left)) max(1.5rem, env(safe-area-inset-bottom)) max(1.75rem, env(safe-area-inset-right));
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }
}

.landing-haber-hero-copy-inner {
  max-width: min(52rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.landing-haber-baslik {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.15rem, 3.6vw, 2rem);
  line-height: 1.05;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 !important;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 767.98px) {
  .landing-haber-baslik {
    font-size: clamp(0.88rem, 4vw, 1.25rem);
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-haber-show-cell {
    transition: none;
  }

  .landing-haber-show-arrow:hover {
    transform: none;
  }

  @media (max-width: 767.98px) {
    .landing-haber-show-arrow:hover {
      transform: translateY(-50%);
    }
  }
}

/* Landing: duyurular — haber slaytı ile uyumlu editorial tam genişlik kartlar */
.landing-duyuru-wrap {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
}

.landing-duyuru-heading-wrap {
  margin-bottom: 1.35rem;
}

.landing-duyuru-section-title {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #475569;
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.landing-duyuru-section-title::before,
.landing-duyuru-section-title::after {
  content: '';
  flex: 1;
  max-width: 4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.landing-duyuru-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.landing-duyuru-card {
  position: relative;
  overflow: visible;
  border-radius: 14px;
  min-height: 0;
  box-shadow: 0 14px 44px -14px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.landing-duyuru-card--bilgi {
  background: linear-gradient(125deg, #1d4ed8 0%, #172554 42%, #0f172a 100%);
}

.landing-duyuru-card--uyari {
  background: linear-gradient(125deg, #c2410c 0%, #7c2d12 40%, #431407 100%);
}

.landing-duyuru-card--onemli {
  background: linear-gradient(125deg, #b91c1c 0%, #7f1d1d 42%, #450a0a 100%);
}

.landing-duyuru-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.14) 0%,
    transparent 42%,
    transparent 55%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.landing-duyuru-inner {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.35rem;
  width: 100%;
  max-width: min(52rem, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .landing-duyuru-inner {
    padding: 1.45rem 1.75rem;
  }
}

.landing-duyuru-baslik {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.05rem, 3.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0 0 0.45rem;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.6);
}

.landing-duyuru-icerik {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.93) !important;
  margin: 0;
}

.landing-duyuru-icerik p {
  margin-bottom: 0.5rem;
  color: inherit !important;
}

.landing-duyuru-icerik p:last-child {
  margin-bottom: 0;
}

.landing-duyuru-icerik a {
  color: #bfdbfe;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-duyuru-icerik a:hover {
  color: #fff;
}

.landing-duyuru-icerik ul,
.landing-duyuru-icerik ol {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.25rem;
  color: inherit !important;
}

.landing-duyuru-icerik li {
  margin-bottom: 0.25rem;
}

.landing-duyuru-icerik strong {
  color: #fff !important;
}

.landing-duyuru-icerik img,
.landing-duyuru-icerik picture img,
.landing-duyuru-icerik video {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto !important;
  margin: 0.65rem auto;
  border-radius: 8px;
  box-sizing: border-box;
}

.landing-duyuru-icerik figure {
  margin: 0.65rem 0;
  max-width: 100%;
}

.landing-duyuru-icerik figure img {
  margin-left: auto;
  margin-right: auto;
}

