/* ================================================
   Admin Dashboard & Language Switcher Styles
   ================================================ */

/* Language Switcher (absolute right in top-bar) */
#lang-switcher {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: inline-block;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.6;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
#lang-switcher:hover {
  background: #0056b3;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 767px) {
  #lang-switcher {
    right: 10px;
    padding: 1px 8px;
    font-size: 11px;
  }
}

/* ================================================
   Admin Login Screen
   ================================================ */
.admin-login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.admin-login-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}
.admin-login-card h4 {
  color: #333;
  font-weight: 600;
}

/* ================================================
   Admin Image Cards
   ================================================ */
.admin-img-card {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.admin-img-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.admin-img-card .card-img-top {
  height: 180px;
  object-fit: cover;
  background: #f0f0f0;
}

/* ================================================
   Admin Tab panels
   ================================================ */
.tab-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 16px;
  min-height: 400px;
}

/* Gap utility for older bootstrap */
.gap-1 > * + * {
  margin-left: 4px;
}
