/* ================================================================
   ADMIN PANEL - INLINE STYLES MOVED TO CSS
   ================================================================ */

/* Login screen back link */
.login-card a.back-link {
  font-size: 0.8rem;
  color: var(--text-300);
}

/* Sidebar badge (hidden by default) */
.sidebar-badge {
  display: none;
}

/* Admin empty states (hidden by default) */
.admin-empty {
  display: none;
}

.admin-empty.show {
  display: block;
}

/* Tab content (hidden by default except first) */
.tab-content {
  display: none;
}

.tab-content:first-of-type {
  display: block;
}

/* Equipment section headings */
.equipment-section-title {
  margin-bottom: 1rem;
  color: var(--text-100);
}

/* Equipment table wrap spacing */
.equipment-table-wrap-spaced {
  margin-bottom: 2.5rem;
}

/* Equipment empty states with padding */
.admin-empty.padded {
  padding: 2rem;
}

/* Table column widths */
.th-icon {
  width: 50px;
  text-align: center;
}

.th-actions {
  width: 140px;
}

.th-sort {
  width: 80px;
}

/* Modal field spacing */
.modal-field.separator {
  margin-top: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .modal-field.separator {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Series modal overlay (hidden by default) */
#series-modal-overlay {
  display: none;
}

/* Series steam preview (hidden by default) */
#series-steam-preview {
  display: none;
  margin-top: 10px;
}

#series-steam-preview.show {
  display: flex;
}

#series-selected-img {
  width: 60px;
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
}

/* Checkbox wrap spacing */
.checkbox-wrap.spaced {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-wrap label.toggle-label {
  font-size: 0.85rem;
  color: var(--text-200);
  cursor: pointer;
  margin: 0;
  user-select: none;
}

/* Modal row grid */
.modal-row.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

/* Modal footer spacing */
.modal-footer.spaced {
  margin-top: 20px;
}

/* Game details modal body (hidden by default) */
#gdm-body {
  display: none;
}

#gdm-body.show {
  display: block;
}

/* Gallery section (hidden by default) */
#gdm-gallery-section {
  display: none;
}

#gdm-gallery-section.show {
  display: block;
}

/* Error states (hidden by default) */
#gdm-error {
  display: none;
}

#gdm-error.show {
  display: block;
}

/* Lightbox (hidden by default) */
#gdm-lightbox {
  display: none;
}

#gdm-lightbox.show {
  display: flex;
}

/* Confirmation modal (hidden by default) */
#confirm-modal-overlay {
  display: none;
}

#confirm-modal-overlay.show {
  display: flex;
}

/* Equipment modal (hidden by default) */
#equipment-modal-overlay {
  display: none;
}

#equipment-modal-overlay.show {
  display: flex;
}

.game-modal.block {
  display: block;
  position: relative;
}

/* Roadmap modal (hidden by default) */
#roadmap-modal-overlay {
  display: none;
}

#roadmap-modal-overlay.show {
  display: flex;
}

/* Tiers modal (hidden by default) */
#tier-modal-overlay {
  display: none;
}

#tier-modal-overlay.show {
  display: flex;
}

/* Image onerror inline style fix */
img[onerror*="display"] {
  /* Handled by JS */
}

/* YouTube link button (member series) */
.btn-yt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-yt-link:hover {
  background: rgba(255, 0, 0, 0.2);
  transform: scale(1.1);
}

.btn-yt-link svg {
  flex-shrink: 0;
}

[data-theme="light"] .btn-yt-link {
  background: rgba(255, 0, 0, 0.08);
}

[data-theme="light"] .btn-yt-link:hover {
  background: rgba(255, 0, 0, 0.15);
}

/* Suggestion card top actions */
.sug-card-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Inspect game button */
.btn-inspect-game {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red-light);
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-inspect-game:hover {
  background: rgba(255, 59, 92, 0.15);
  border-color: rgba(255, 59, 92, 0.3);
  transform: translateY(-1px);
}

.btn-inspect-game svg {
  flex-shrink: 0;
}

.btn-search-external {
  color: #4285f4;
  background: rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.2);
}

.btn-search-external:hover {
  background: rgba(66, 133, 244, 0.15);
  border-color: rgba(66, 133, 244, 0.3);
}

[data-theme="light"] .btn-inspect-game {
  background: rgba(255, 59, 92, 0.08);
  border-color: rgba(255, 59, 92, 0.15);
  color: var(--red);
}

[data-theme="light"] .btn-inspect-game:hover {
  background: rgba(255, 59, 92, 0.12);
  border-color: rgba(255, 59, 92, 0.25);
}

[data-theme="light"] .btn-search-external {
  background: rgba(66, 133, 244, 0.08);
  border-color: rgba(66, 133, 244, 0.15);
}

[data-theme="light"] .btn-search-external:hover {
  background: rgba(66, 133, 244, 0.12);
  border-color: rgba(66, 133, 244, 0.25);
}

/* Game Details Modal - New Sections */

/* Video section - Thumbnail + Steam link */
.gdm-videos {
  max-width: 600px;
  margin: 0 auto;
}

.gdm-video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.gdm-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 59, 92, 0.9);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.gdm-video-play-btn:hover {
  background: rgba(255, 59, 92, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gdm-video-play-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.gdm-video-title {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-200);
  text-align: center;
}

.gdm-video-title a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gdm-video-title a:hover {
  opacity: 0.8;
}

/* Detailed description - Daha kompakt */
.gdm-detailed-desc {
  margin-top: 10px;
  padding: 12px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-height: 400px;
  overflow-y: auto;
}

[data-theme="light"] .gdm-detailed-desc {
  background: rgba(0,0,0,0.03);
}

.btn-toggle-desc {
  margin-top: 8px;
  padding: 6px 14px;
  background: rgba(255,59,92,0.1);
  border: 1px solid rgba(255,59,92,0.2);
  border-radius: 6px;
  color: var(--red-light);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.btn-toggle-desc:hover {
  background: rgba(255,59,92,0.15);
  border-color: rgba(255,59,92,0.3);
}

/* Languages section - Kompakt */
.gdm-lang-highlight {
  padding: 8px 12px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 6px;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.gdm-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gdm-lang-badge {
  padding: 3px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-200);
}

.gdm-lang-more {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-300);
  font-style: italic;
}

/* System requirements - Kompakt */
.gdm-req-platform {
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
}

[data-theme="light"] .gdm-req-platform {
  background: rgba(0,0,0,0.03);
}

.gdm-req-title {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  color: var(--text-100);
}

.gdm-req-content {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-200);
  margin-bottom: 8px;
}

.gdm-req-content:last-child {
  margin-bottom: 0;
}

/* Media images section - Daha küçük */
.gdm-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gdm-media-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.gdm-media-item img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.gdm-media-label {
  padding: 6px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-300);
  background: rgba(0,0,0,0.5);
}

/* Special categories */
.gdm-cat-special {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gdm-cat-badge.special {
  background: rgba(66,133,244,0.15);
  border-color: rgba(66,133,244,0.3);
  color: #4285f4;
  font-weight: 600;
}

/* Content warnings - Kompakt */
.gdm-content-warning {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255,152,0,0.1);
  border: 1px solid rgba(255,152,0,0.2);
  border-radius: 6px;
}

.gdm-warning-badge {
  display: inline-block;
  padding: 3px 8px;
  margin: 3px 3px 3px 0;
  background: rgba(255,59,92,0.15);
  border: 1px solid rgba(255,59,92,0.3);
  border-radius: 4px;
  font-size: 0.78rem;
  color: #ff3b5c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gdm-media {
    grid-template-columns: 1fr;
  }
}
