html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Kart stilleri */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
  background-color: #343a40;
  color: white;
  border-radius: 10px 10px 0 0 !important;
  padding: 15px;
}

.card-body {
  padding: 20px;
}

/* Buton stilleri */
.btn-primary {
  background-color: #343a40;
  border-color: #343a40;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #495057;
  border-color: #495057;
  transform: scale(1.03);
}

/* Input stilleri */
.form-control {
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #343a40;
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.25);
}

/* Tablolar için stiller */
.table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table th {
  background-color: #343a40;
  color: white;
  border: none;
}

.table-hover tbody tr:hover {
  background-color: rgba(52, 58, 64, 0.05);
}

/* Sesli sohbet widget - layout genelinde */
.voice-chat-widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 1050;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.voice-chat-widget.voice-chat-active {
  border-color: #2ecc71;
}

.voice-chat-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #34495e;
  color: #fff;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.voice-chat-widget.voice-chat-active .voice-chat-header {
  background: #27ae60;
}

.voice-chat-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  margin-left: 6px;
  animation: voiceChatPulse 1.5s infinite;
}

.voice-chat-chevron {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
}

.voice-chat-widget.expanded .voice-chat-chevron {
  transform: rotate(180deg);
}

.voice-chat-body {
  display: none;
  padding: 12px 14px;
}

.voice-chat-widget.expanded .voice-chat-body {
  display: block;
}

.voice-chat-widget audio {
  display: none;
}

@keyframes voiceChatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .voice-chat-widget {
    bottom: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}