    :root {
      --base-size: min(2vw, 14px);
      --card-width: min(60px, 12vw);
      --card-height: min(40px, 8vh);
      --cell-ratio: 0.5;
      --button-padding: 0.4em 0.8em;
      --cell-border: 1.5px solid #222;
      --selection-color: #6ab34f;
      --navbar-height: 56px;
      --footer-height: 60px;
    }
    
    body {
      background: #000;
      font-family: 'Segoe UI', sans-serif;
      color: #fff;
      padding-top: var(--navbar-height);
      padding-bottom: var(--footer-height);
      box-sizing: border-box;
      max-width: 100%;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
    }

    /* Modern navbar stilleri */
    .navbar {
      background: #181818 !important;
      box-shadow: 0 2px 12px rgba(255,215,0,0.08);
      min-height: 56px;
      z-index: 100;
    }
    .navbar-brand {
      color: gold !important;
      font-weight: 700;
      letter-spacing: 1px;
      font-size: 1.2em;
      display: flex;
      align-items: center;
    }
    .navbar-brand img {
      height: 44px;
      margin-right: 8px;
    }
    .navbar-nav .nav-link {
      color: #eee !important;
      font-weight: 500;
      font-size: 1.05em;
      transition: color 0.2s, background 0.2s;
      border-radius: 6px;
      padding: 6px 14px;
      display: flex;
      align-items: center;
    }
    .navbar-nav .nav-link.active, .navbar-nav .nav-link:focus {
      color: gold !important;
      background: rgba(255,215,0,0.08);
    }
    .navbar-nav .nav-link:hover:not(.disabled) {
      color: #6ab34f !important;
      background: rgba(106,179,79,0.08);
    }
    .navbar-nav .nav-link.disabled, .navbar-nav .nav-link[aria-disabled="true"] {
      color: #888 !important;
      opacity: 0.7;
      cursor: not-allowed;
      background: none;
    }
    .navbar-nav .badge {
      font-size: 0.85em;
      background: #444;
      color: #fff;
      border-radius: 6px;
      padding: 2px 7px;
      margin-left: 2px;
    }
    .navbar-nav .nav-link i {
      font-size: 1.2em;
      margin-right: 0;
      color: inherit;
      transition: color 0.2s;
    }
    .navbar-nav .nav-link[aria-label*="YouTube"]:hover i {
      color: #ff0000 !important;
    }
    .navbar-nav .nav-link[aria-label*="GitHub"]:hover i {
      color: #fff !important;
    }
    .navbar-nav .nav-link[aria-label*="E-posta"]:hover i {
      color: #ffd700 !important;
    }
    .navbar-nav .nav-link[aria-label*="Yardım"]:hover i {
      color: #6ab34f !important;
    }
    @media (max-width: 992px) {
      .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 1em;
      }
      .navbar-brand {
        font-size: 1em;
      }
    }
    @media (max-width: 600px) {
      .navbar {
        min-height: 48px;
        padding: 0 2px;
      }
      .navbar-brand img {
        height: 36px;
        margin-right: 5px;
      }
      .navbar-nav .nav-link {
        padding: 7px 8px;
        font-size: 0.98em;
      }
    }

    /* Footer Stili */
    footer {
      background-color: #1a1111;
      color: #ddd;
      text-align: center;
      padding: 15px 0;
      position: fixed;
      bottom: 0;
      width: 100%;
      height: var(--footer-height);
      border-top: 1px solid #6ab34f;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .social-icons a {
      color: #ddd;
      margin: 0 10px;
      font-size: 18px;
      transition: color 0.3s;
    }
    .social-icons a:hover {
      color: #6ab34f;
    }
    .copyright {
      font-size: 14px;
      margin-top: 5px;
      user-select: none;
    }

    .main-container {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 0;
      padding-right: 0;
      flex: 1;
      transition: transform 0.2s;
      transform-origin: top center;
      overflow: visible;
      box-sizing: border-box;
      position: relative;
    }
    
    .main-controls {
      position: static;
      margin: 16px 0 8px 0;
      background: rgba(30,30,30,0.85);
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.18);
      padding: 4px 8px;
      z-index: 20;
      display: flex;
      gap: 4px;
      min-width: unset;
      width: 100%;
      max-width: 500px;
      box-sizing: border-box;
      height: 44px;
      align-items: center;
      justify-content: center;
    }
    
    .main-controls > * {
      flex: 1 1 auto;
      max-width: 500px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: center;
    }
    
    .main-controls .button {
      background: #232323;
      border: 2px solid #444;
      border-radius: 8px;
      color: #fff;
      min-width: 36px;
      min-height: 36px;
      font-size: 1.25em;
      margin: 0 2px;
      box-shadow: 0 1px 6px rgba(0,0,0,0.10);
      transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .main-controls .button:hover, .main-controls .button:focus {
      background: #181818;
      border-color: gold;
      color: gold;
      box-shadow: 0 0 8px #ffd70055;
    }
    .main-controls #clearBtn { border-color: #e74c3c; color: #e74c3c; }
    .main-controls #clearBtn:hover { background: #e74c3c; color: #fff; }
    .main-controls #resetBtn { border-color: #f39c12; color: #f39c12; }
    .main-controls #resetBtn:hover { background: #f39c12; color: #fff; }
    .main-controls #undoBtn, .main-controls #redoBtn { border-color: #3498db; color: #3498db; }
    .main-controls #undoBtn:hover, .main-controls #redoBtn:hover { background: #3498db; color: #fff; }
    .main-controls #zoomInBtn, .main-controls #zoomOutBtn { border-color: #9b59b6; color: #9b59b6; }
    .main-controls #zoomInBtn:hover, .main-controls #zoomOutBtn:hover { background: #9b59b6; color: #fff; }
    .main-controls #helpBtn { border-color: #27ae60; color: #27ae60; }
    .main-controls #helpBtn:hover { background: #27ae60; color: #fff; }
    .main-controls #previewToggleBtn {
      background: #23213c;
      border-color: #8e44ad;
      color: #8e44ad;
    }
    .main-controls #previewToggleBtn:hover {
      background: #8e44ad;
      color: #fff;
      box-shadow: 0 0 8px #8e44ad55;
    }
    .main-controls #previewToggleBtn.enabled {
      background: #27ae60;
      border-color: #27ae60;
      color: #fff;
    }
    .main-controls #previewToggleBtn.enabled:hover {
      background: #219150;
      color: #fff;
      box-shadow: 0 0 8px #27ae6055;
    }
    .main-controls #previewToggleBtn.off {
      background: #d90429;
      border-color: #d90429;
      color: #fff;
      opacity: 1;
    }
    .main-controls #previewToggleBtn.off:hover {
      background: #b3001b;
      color: #fff;
      border-color: #b3001b;
      box-shadow: 0 0 8px #d9042955;
    }

    @media (max-width: 600px) {
      .main-controls {
        margin: 10px 0 6px 0;
        padding: 2px 2px;
        height: 38px;
        max-width: 99vw;
      }
      .main-controls .button {
        min-width: 30px;
        min-height: 30px;
        font-size: 1em;
        padding: 2px 0;
      }
    }
    
    .card-selection {
      display: flex;
      justify-content: center;
      flex-wrap: nowrap;
      gap: 4px;
      margin: 0 auto;
      max-width: 500px;
      width: 100%;
      min-width: 0;
      padding: 4px 0;
      box-sizing: border-box;
      overflow: visible;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 8px;
      background-color: rgba(0,0,0,0.4);
      box-shadow: none;
    }
    
    .card-button-box {
      width: clamp(38px, 10vw, 70px);
      height: clamp(28px, 7vw, 48px);
      font-size: clamp(0.9em, 2.5vw, 1.2em);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 6px;
      cursor: pointer;
      position: relative;
      color: white;
      text-shadow: 0px 0px 3px #000000;
      transition: transform 0.15s, border-color 0.3s;
      box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
      background-size: cover;
      flex-shrink: 0;
      opacity: 1;
      filter: none;
      border: 2px solid transparent;
    }
    .card-button-box:hover:not(.disabled-card) {
      transform: scale(1.07);
      border-color: var(--selection-color);
      box-shadow: 0 0 15px var(--selection-color);
    }
    .card-button-box.disabled-card {
      opacity: 0.5;
      filter: grayscale(50%);
      cursor: not-allowed;
      border-color: transparent;
      box-shadow: none;
    }
    
    .card-count {
      position: absolute;
      top: -9px;
      right: -9px;
      background: rgba(0,0,0,0.8);
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: min(calc(var(--base-size) * 0.7), 12px);
      font-weight: 700;
      user-select: none;
      pointer-events: none;
    }
    
    .grid-container {
      width: 100%;
      max-width: 500px;
      min-width: 0;
      display: flex;
      justify-content: center;
      padding-left: 0;
      padding-right: 0;
      margin: 0 auto 20px auto;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 10px;
      background-color: rgba(0,0,0,0.4);
      box-sizing: border-box;
    }
    
    .grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      aspect-ratio: 5/2;
      width: 100%;
      max-width: 500px;
      gap: 2px;
      border: none;
      border-radius: 10px;
      background-color: rgba(255,255,255,0.05);
      margin: 0 auto;
    }
    
    .cell {
      aspect-ratio: 1/var(--cell-ratio);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative; /* Mutlak konumlu çocuklar için zorunlu */
      background-image: url('ck-grey.png');
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      font-size: min(calc(var(--base-size) * 1.3), 18px);
      color: white;
      text-shadow: 0px 0px 4px #000;
      cursor: pointer;
      transition: all 0.2s;
      border: var(--cell-border);
      border-radius: 6px;
      box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
      user-select: none;
      background-color: #181818;
    }
    
    .cell:hover {
      transform: scale(1.03);
      box-shadow: 0 0 12px var(--selection-color);
      z-index: 5;
    }
    
.selected {
  border: 3px solid gold !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  transform: scale(1.05);
  z-index: 10;
  transition: all 0.3s ease;
}
    
    .adjacent-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.75;
      z-index: 1;
      border-radius: 6px;
    }
    
.adjacent-yes {
  background-image: url('5var.png'); /* Renk yerine resim kullanıyoruz */
  background-size: cover;
  opacity: 0.85;
}
    
.adjacent-no {
  background: #95c97d; /* 5 Yok için mevcut renk korundu */
}
    
    .cell-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      user-select: none;
      font-size: 1.3em;
      font-weight: bold;
      text-shadow: 0 0 8px #000, 0 0 2px #fff;
    }
    
    .king-animation {
      animation: pulse 1s ease-in-out;
      box-shadow: 0 0 20px gold;
      border-color: gold !important;
      z-index: 15;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }
    
    /* Hücre üstü butonlar */
.cell-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
  display: none;
  width: 110%;
  align-items: center; /* Yeni eklenen - butonları ortalar */
}
    
.cell-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Başlangıçta gizli */
  flex-direction: column;
  gap: 8px;
  z-index: 20;
  width: 90%; /* Genişliği biraz azaltıyoruz */
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Tıklama sorunlarını önlemek için */
}

.cell-actions button {
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease-in-out;
  color: white;
  border: 2px solid transparent;
  width: 80px; /* Sabit genişlik */
  pointer-events: auto; /* Butonların tıklanabilir olması için */
  text-align: center;
}

.cell-actions button:first-child {
  background: linear-gradient(90deg, rgba(47,81,102,1) 0%, rgba(89,156,199,1) 100%);
  border-color: #275273;
}

.cell-actions button:last-child {
  background: #95c97d;
  color: #123700;
  border-color: #679f47;
}
    .cell-actions button:hover {
      filter: brightness(1.08);
      transform: scale(1.08);
      box-shadow: 0 5px 18px rgba(0,0,0,0.6);
    }
    
    /* Şık Modal Stili */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .modal-content {
      background: #2c1e1e;
      border-radius: 10px;
      width: 90%;
      max-width: 500px;
      padding: 25px;
      box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
      transform: translateY(-50px);
      transition: transform 0.3s ease;
      position: relative;
      border: 1px solid #6ab34f;
    }
    .modal-overlay.active .modal-content {
      transform: translateY(0);
    }
    .modal-header {
      margin-bottom: 20px;
      text-align: center;
    }
    .modal-title {
      color: #6ab34f;
      font-size: 24px;
      font-weight: 700;
      margin: 0;
    }
    .modal-body {
      margin-bottom: 20px;
    }
    .modal-body ol {
      padding-left: 20px;
    }
    .modal-body li {
      margin-bottom: 10px;
      line-height: 1.5;
    }
    .modal-footer {
      text-align: center;
    }
    .close-modal {
      background: #6ab34f;
      color: #222;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 700;
      transition: all 0.3s;
    }
    .close-modal:hover {
      background: #5aa347;
      transform: translateY(-2px);
    }

    /* Responsive Adjustments */
    @media (max-width: 600px) {
      :root {
        --card-width: 50px;
        --card-height: 35px;
        --button-padding: 0.3em 0.6em;
        --selection-color: #5aa347;
      }
      
      .grid {
        max-width: 95vw;
      }
      
      .button {
        min-width: 50px;
        font-size: calc(var(--base-size) * 0.9);
      }
      
      .cell-actions button {
        font-size: 14px;
        padding: 8px 12px;
      }
      
      .selected {
        box-shadow: 0 0 12px rgb(255, 252, 253);
      }
      
      .settings-btn {
        padding: 6px 10px;
        font-size: 14px;
      }

  .bottom-controls {
    padding: 12px 15px;
  }

  .adjacent-buttons {
    gap: 10px;
  }

      .status-indicator {
        width: 12px;
        height: 12px;
        margin-right: 5px;
      }
      .card-selection {
        max-width: 100vw;
        gap: 2px;
        padding: 4px 0;
        margin: 0;
      }
      .card-button-box {
        width: clamp(38px, 18vw, 60px);
        height: clamp(28px, 12vw, 44px);
        font-size: clamp(1em, 4vw, 1.2em);
        padding: 0;
      }
    }
    
    @media (max-width: 400px) {
      :root {
        --card-width: 42px;
        --card-height: 28px;
        --base-size: 12px;
      }
      
      .card-count {
        width: 14px;
        height: 14px;
        top: -6px;
        right: -6px;
        font-size: 8px;
      }
      
      .button {
        min-width: 45px;
        font-size: 11px;
      }
      
      .settings-btn {
        padding: 4px 8px;
        font-size: 13px;
      }

  .bottom-controls {
    padding: 10px 12px;
  }

  .adjacent-buttons .button {
    min-width: 120px; /* Küçük ekranlarda buton genişliği */
  }

      .cell-actions button {
        font-size: 15px;
        padding: 10px 14px;
      }



.flag-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.9);
  color: #ff2222;
  font-size: 1em;
  border-radius: 3px;
  padding: 0 2px;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-width: 0;
  line-height: 1;
  border: 1px solid #444;
}
@media (max-width: 600px) {
  .flag-indicator {
    font-size: 1em;
    padding: 0 1px;
  }
}

.flag-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.08);
  border: 1.5px solid gold;
  border-radius: 8px;
  padding: 3px 10px 3px 7px;
  font-size: 0.98em;
  font-weight: 500;
  color: #ffd700;
  margin-right: 8px;
  box-shadow: 0 1px 6px rgba(255,215,0,0.07);
  user-select: none;
  white-space: nowrap;
  min-width: 0;
}
.flag-hint .flag-icon {
  font-size: 1.2em;
  margin-right: 2px;
  filter: drop-shadow(0 0 2px #ffd700);
}
.flag-hint .flag-text {
  color: #ffd700;
  font-size: 0.98em;
  font-weight: 500;
  letter-spacing: 0.1px;
}
@media (max-width: 600px) {
  .main-controls .flag-hint {
    font-size: 0.92em;
    padding: 2px 6px 2px 5px;
    margin-right: 4px;
  }
  .main-controls .flag-hint .flag-icon {
    font-size: 1em;
  }
  .main-controls .flag-hint .flag-text {
    font-size: 0.92em;
  }
}

.hint-screen {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 12px auto;
  padding: 0 10px;
}

.floating-hint {
  background: #2c1e1e;
  border: 2px solid gold;
  color: gold;
  border-radius: 10px;
  min-width: 240px;
  max-width: 100%;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 1em;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.floating-hint::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.modern-hint-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-hint-icon {
  font-size: 1.4em;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

.modern-hint-text {
  font-size: 1em;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .floating-hint {
    padding: 10px 14px;
    min-width: auto;
    font-size: 0.95em;
  }
  .modern-hint-icon {
    font-size: 1.2em;
  }
  .modern-hint-text {
    font-size: 0.95em;
  }
}

/* adjacent-buttons .button hover renkleri hızlı seçim moduna göre değişsin */
.bottom-controls:not(.active-quick) .adjacent-buttons .button:hover {
  background: #6ab34f !important;
  color: #fff !important;
  border-color: gold !important;
  box-shadow: 0 0 10px #6ab34f55;
}

.bottom-controls.active-quick .adjacent-buttons .button:hover {
  background: #e74c3c !important;
  color: #fff !important;
  border-color: #111 !important;
  box-shadow: 0 0 10px #e74c3c55;
}

/* Stil güncellemesi */
.main-controls .button {
  border: 2px solid transparent;
  border-radius: 8px;
  margin: 0 2px;
  background: #232323;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
.main-controls #clearBtn {
  background: #2c1e1e;
  border-color: #e74c3c;
  color: #e74c3c;
}
.main-controls #clearBtn:hover {
  background: #e74c3c;
  color: #fff;
  box-shadow: 0 0 8px #e74c3c55;
}
.main-controls #undoBtn, .main-controls #redoBtn {
  background: #1e2c3c;
  border-color: #3498db;
  color: #3498db;
}
.main-controls #undoBtn:hover, .main-controls #redoBtn:hover {
  background: #3498db;
  color: #fff;
  box-shadow: 0 0 8px #3498db55;
}
.main-controls #resetBtn {
  background: #2c211e;
  border-color: #f39c12;
  color: #f39c12;
}
.main-controls #resetBtn:hover {
  background: #f39c12;
  color: #fff;
  box-shadow: 0 0 8px #f39c1255;
}
.main-controls #zoomOutBtn, .main-controls #zoomInBtn {
  background: #241e2c;
  border-color: #9b59b6;
  color: #9b59b6;
}
.main-controls #zoomOutBtn:hover, .main-controls #zoomInBtn:hover {
  background: #9b59b6;
  color: #fff;
  box-shadow: 0 0 8px #9b59b655;
}
.main-controls #helpBtn {
  background: #1e2c21;
  border-color: #27ae60;
  color: #27ae60;
}
.main-controls #helpBtn:hover {
  background: #27ae60;
  color: #fff;
  box-shadow: 0 0 8px #27ae6055;
}

/* === Navbar ve Main Container Çerçeve === */
.side-navbar {
  border: 2.5px solid #ffd700;
  border-radius: 14px;
  background: rgba(30,30,40,0.85);
  box-shadow: 0 2px 16px #0003;
}

@media (max-width: 900px) {
  .side-navbar,
  .main-container {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* MODERN & BOOTSTRAP UYUMLU SIDEBAR */
.side-navbar.left-navbar,
.side-navbar.right-navbar {
  border: 2.5px solid #ffd700 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #232323 80%, #2c2c1e 100%) !important;
  box-shadow: 0 4px 24px #0005 !important;
}
@media (max-width: 900px) {
  .side-navbar.left-navbar,
  .side-navbar.right-navbar {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }
}

/* TEST: Sidebar görünürlüğü için */
.side-navbar, .side-navbar.left-navbar, .side-navbar.right-navbar {
  border: 4px solid red !important;
  background: yellow !important;
}

/* Okey sayfası için sidebar stilleri */
body.okey-page .side-navbar.left-navbar,
body.okey-page .side-navbar.right-navbar {
  border: 2.5px solid #ffd700 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #232323 80%, #2c2c1e 100%) !important;
  box-shadow: 0 4px 24px #0005 !important;
}

/* === Sidebar ve Main Container Yükseklik === */
.page-layout {
  min-height: calc(100vh - var(--footer-height) - var(--navbar-height));
  display: flex;
  align-items: stretch;
}
.main-container,
.side-navbar {
  height: 100%;
  min-height: 1px;
  box-sizing: border-box;
}



/* Online Box Stilleri */
#sidebarOnlineBox {
  background: rgba(24, 24, 24, 0.95);
  border: 2px solid #333;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

#sidebarOnlineBox:hover {
  border-color: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

#sidebarOnlineBox .badge {
  transition: all 0.2s ease;
}

#sidebarOnlineBox .badge:hover {
  transform: scale(1.05);
}

#sidebarOnlineBox .text-muted {
  color: #888 !important;
}

/* Online Box içindeki badge'ler için özel stiller */
#sidebarOnlineBox .bg-success {
  background-color: #28a745 !important;
}

#sidebarOnlineBox .bg-info {
  background-color: #17a2b8 !important;
}

#sidebarOnlineBox .bg-dark {
  background-color: #343a40 !important;
}

#sidebarOnlineBox .bg-secondary {
  background-color: #6c757d !important;
}

/* === Sidebar Giriş/Kayıt Düğmeleri Stilleri === */
#authButtonsContainer .btn {
  transition: all 0.3s ease;
  border-width: 2px;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

#authButtonsContainer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#authButtonsContainer .btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-color: #28a745;
}

#authButtonsContainer .btn-success:hover {
  background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
  border-color: #1e7e34;
}

#authButtonsContainer .btn-outline-success {
  color: #28a745;
  border-color: #28a745;
  background: transparent;
}

#authButtonsContainer .btn-outline-success:hover {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

#authButtonsContainer .btn-outline-warning {
  color: #ffc107;
  border-color: #ffc107;
  background: transparent;
}

#authButtonsContainer .btn-outline-warning:hover {
  background: #ffc107;
  color: #000;
  border-color: #ffc107;
}

#authButtonsContainer .btn-outline-info {
  color: #17a2b8;
  border-color: #17a2b8;
  background: transparent;
}

#authButtonsContainer .btn-outline-info:hover {
  background: #17a2b8;
  color: #fff;
  border-color: #17a2b8;
}

/* Kullanıcı avatar ve bilgi stilleri */
.user-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-avatar i {
  transition: all 0.3s ease;
}

.user-avatar:hover i {
  transform: scale(1.1);
  color: #20c997 !important;
}

.user-info {
  text-align: center;
}

.user-nick {
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Responsive tasarım için */
@media (max-width: 768px) {
  #authButtonsContainer .btn {
    font-size: 0.85em;
    padding: 8px 12px;
  }
  
  .user-avatar i {
    font-size: 2em !important;
  }
  
  .user-nick {
    font-size: 1em !important;
  }
}

@media (max-width: 576px) {
  #authButtonsContainer .btn {
    font-size: 0.8em;
    padding: 6px 10px;
  }
}

/* === Profil Modalı Stilleri === */
.profile-info .info-item {
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.profile-info .info-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.profile-info .info-item div {
  font-size: 1.1em;
}

.profile-info .badge {
  font-size: 0.9em;
  padding: 6px 12px;
  border-radius: 20px;
}

.profile-info .btn {
  transition: all 0.3s ease;
  border-width: 2px;
  font-weight: 600;
}

.profile-info .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Profil modalı responsive tasarım */
@media (max-width: 576px) {
  .profile-info .row {
    flex-direction: column;
  }
  
  .profile-info .col-6 {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .profile-info .info-item {
    padding: 10px;
  }
}
