/* ================================
   GENEL AYARLAR
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: url('/yonetim/assets/images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #ffffff;
}


/* ================================
   ORTA ALAN
================================ */
.center-box {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  backdrop-filter: brightness(0.9);
}

/* ================================
   LOGO
================================ */
.logo {
  width: 280px;
  margin-bottom: 16px;
}

/* ================================
   INDEX – LOGO ALTI GİRİŞ PANELİ
================================ */
.login-panel {
  margin-top: 8px;
  padding: 28px 26px;
  width: 420px;
  background: rgba(40, 40, 40, 0.9);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
}

/* ================================
   LÜKS BUTONLAR
================================ */
.login-panel .btn {
  width: 100%;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  border-radius: 14px;

  background: linear-gradient(145deg, #ff8c00, #ffb347);
  color: #111;

  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 8px 22px rgba(0,0,0,0.55);

  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.login-panel .btn:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 14px 35px rgba(0,0,0,0.75);
}

/* ADMIN BUTONU */
.login-panel .btn.admin {
  background: linear-gradient(145deg, #3a3a3a, #5a5a5a);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ================================
   FORM KUTUSU (LOGIN SAYFALARI)
================================ */
.form-box {
  width: 360px;
  padding: 30px 28px;
  background: rgba(35,35,35,0.92);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
}

/* ================================
   INPUT ALANLARI (LÜKS)
================================ */
.form-box input {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-box input::placeholder {
  color: #bcbcbc;
}

.form-box input:focus {
  border-color: #ff8c00;
  background: rgba(255,255,255,0.12);
}

/* ================================
   FORM BUTONU
================================ */
.form-box button {
  width: 100%;
  padding: 15px 0;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  background: linear-gradient(145deg, #ff8c00, #ffb347);
  color: #111;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 10px 26px rgba(0,0,0,0.55);

  transition: all 0.25s ease;
}

.form-box button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 16px 35px rgba(0,0,0,0.75);
}

/* ================================
   DASHBOARD GENEL
================================ */
.dashboard {
  padding: 30px;
}

/* ================================
   KARTLAR (İŞ EMİRLERİ)
================================ */
.card {
  background: rgba(0,0,0,0.55);
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.card b {
  display: block;
  font-size: 15px;
  color: #ff8c00;
  margin-bottom: 6px;
}

.card p {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #e0e0e0;
}

.card small {
  font-size: 12px;
  color: #bdbdbd;
}

/* ================================
   HATA MESAJI
================================ */
.error {
  margin-top: 10px;
  font-size: 13px;
  color: #ff5c5c;
}

/* ================================
   MOBİL UYUMLULUK
================================ */
@media (max-width: 480px) {

  .login-panel,
  .form-box {
    width: 90%;
  }

  .logo {
    width: 180px;
  }
/* ================================
   ADMIN PANEL LAYOUT
================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* ================================
   SIDEBAR
================================ */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #1f1f1f, #2b2b2b);
  padding: 25px 20px;
  box-shadow: 6px 0 20px rgba(0,0,0,0.5);
}

.sidebar-logo {
  text-align: center;
  margin-bottom: 35px;
}

.sidebar-logo img {
  width: 170px;
}

/* ================================
   SIDEBAR MENU
================================ */
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-menu a {
  padding: 14px 18px;
  border-radius: 12px;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
  background: rgba(255,255,255,0.04);
}

.sidebar-menu a:hover {
  background: linear-gradient(135deg, #ff8c00, #ffb347);
  color: #111;
  transform: translateX(6px);
}

.sidebar-menu a.active {
  background: linear-gradient(135deg, #ff8c00, #ffb347);
  color: #111;
  font-weight: 600;
}

.sidebar-menu a.logout {
  margin-top: 25px;
  background: rgba(255,255,255,0.08);
}

/* ================================
   SAĞ İÇERİK ALANI
================================ */
.admin-content {
  flex: 1;
  padding: 35px;
}
.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  flex: 1;
  background: rgba(0,0,0,0.5);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
}

.stat-card b {
  font-size: 32px;
  color: #ff8c00;
}

.stat-card span {
  font-size: 13px;
  color: #ccc;
}

.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-bar select,
.filter-bar button {
  padding: 10px;
  border-radius: 10px;
  border: none;
}

/* ADMIN LAYOUT */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #1a1a1a, #111);
  padding: 20px 15px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.4);
}

/* LOGO */
.sidebar-logo {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar-logo img {
  width: 140px;
  max-width: 100%;
}

/* MENU */
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* BUTTON STYLE */
.menu-btn {
  display: block;
  padding: 14px;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: linear-gradient(135deg, #ff8c00, #ff6a00);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

/* LOGOUT */
.menu-btn.logout {
  background: rgba(255,0,0,0.15);
}

.menu-btn.logout:hover {
  background: linear-gradient(135deg, #ff3b3b, #c40000);
}

/* CONTENT */
.admin-content {
  flex: 1;
  padding: 40px;
  color: #fff;
}


}
