/* ===============================
   PREMIUM UI THEME + DARK MODE
================================= */

:root {
  --bg: #f4f8ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;

  --primary: #2563eb;
  --primary-dark: #1e40af;

  --danger: #dc2626;
  --success: #16a34a;

  --shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* DARK MODE */
body.dark {
  --bg: #0b1220;
  --card: #111c33;
  --text: #f1f5f9;
  --muted: #94a3b8;

  --primary: #3b82f6;
  --primary-dark: #1d4ed8;

  --shadow: 0 6px 25px rgba(0,0,0,0.4);
}

/* GLOBAL */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  transition: 0.3s;
}

h2, h4 {
  font-weight: 500;
}

a {
  text-decoration: none;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  min-height: 100vh;
  position: fixed;
  background: linear-gradient(135deg,#334155,#0f172a);
  padding: 25px;
}

.sidebar h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  padding: 12px 0px;
  margin-bottom: 7px;
  border-radius: 0px;
  color: white;
  font-weight: 400;
  transition: 0.2s;
  border-bottom: 1px solid rgb(255 255 255 / 4%);
}

.sidebar a:hover {
  background: rgb(255 255 255 / 4%);
    padding: 12px;
}

/* MAIN */
.main-content {
  margin-left: 260px;
  padding: 80px 30px 30px 30px;
}

/* CARD */
.card-box {
  background: var(--card);
  border-radius: 0px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.card-box:hover {
  transform: translateY(-3px);
}

/* BUTTON */
.btn-primary {
  background: var(--primary) !important;
  border: none !important;
  border-radius: 0px !important;
  font-weight: 700;
}

/* TABLE */
.table th {
  background: var(--primary);
  color: white;
}

.table td {
  color: var(--text);
}

.table tr:hover {
  background: rgba(37,99,235,0.08);
}

/* BADGES */
.badge-paid {
  background: var(--success);
  padding: 6px 12px;
  border-radius: 0px;
  color: white;
}

.badge-pending {
  background: var(--danger);
  padding: 6px 12px;
  border-radius: 0px;
  color: white;
}

/* DARK MODE BUTTON */
.toggle-btn {
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 0px;
  background: white;
  color: black;
  border: none;
  font-weight: 700;
  margin-top: 20px;
}

/* DASHBOARD PREMIUM CARDS */
.stat-card {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border-radius: 0px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
  transition: 0.25s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card h5 {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.stat-card h2 {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

/* ===============================
   DASHBOARD PREMIUM UI
================================ */

.dashboard-header h2 {
  font-size: 32px;
  margin-bottom: 5px;
}

.dashboard-header p {
  color: var(--muted);
}

/* GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

/* STAT CARDS */
.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border-radius: 0px;
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card .icon {
  font-size: 34px;
  background: rgba(255,255,255,0.2);
  padding: 15px;
  border-radius: 0px;
}

/* COLORS */
.stat-card.blue {
  background: linear-gradient(135deg,#2563eb,#1e40af);
}
.stat-card.orange {
  background: linear-gradient(135deg,#f59e0b,#d97706);
}
.stat-card.green {
  background: linear-gradient(135deg,#16a34a,#15803d);
}
.stat-card.dark {
  background: linear-gradient(135deg,#334155,#0f172a);
}

/* TABLE */
.premium-table {
  background: var(--card);
  padding: 25px;
  border-radius: 0px;
  box-shadow: var(--shadow);
}

.premium-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.premium-table th {
  text-align: left;
  padding: 14px;
  background: rgba(37,99,235,0.12);
  border-radius: 0px;
}

.premium-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

/* PILLS */
.pill {
  padding: 6px 14px;
  border-radius: 0px;
  font-weight: 700;
  font-size: 13px;
}

.pill.danger {
  background: #dc2626;
  color: white;
}

.pill.success {
  background: #16a34a;
  color: white;
}

.pill.warn {
  background: #f59e0b;
  color: white;
}

/* RESPONSIVE */
@media(max-width:768px){
  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }
  .main-content {
    margin-left: 0;
  }
}

.premium-table table tr:nth-child(even) {
  background: rgba(148,163,184,0.06);
}

.premium-table table tr:hover {
  background: rgba(37,99,235,0.10);
  transition: 0.2s;
}

/* ===============================
   MODERN LOGIN + SVG BG
================================ */

.modern-login-body {
  margin:0;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background:linear-gradient(135deg,#334155,#0f172a);
  overflow:hidden;
  font-family:"Inter",sans-serif;
}

/* SVG */
.svg-bg {
  position:absolute;
  width:100%;
  height:100%;
  z-index:0;
}

.svg-bg svg {
  width:100%;
  height:100%;
}

/* CARD */
.modern-login-card {
  position:relative;
  z-index:1;
  width:380px;
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(20px);
  padding:40px;
  border-radius:0px;
  text-align:center;
  color:white;
  box-shadow:0 20px 50px rgba(0,0,0,0.4);
}

.logo-circle {
  width:70px;
  height:70px;
  background:white;
  color:#2563eb;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 auto 15px;
  font-size:28px;
}

.input-group {
  position:relative;
  margin-bottom:18px;
}

.input-group i {
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  opacity:0.8;
}

.input-group input {
  width:85%;
  padding:12px 12px 12px 40px;
  border:none;
  border-radius:0px;
  outline:none;
}

.toggle-pass {
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
}

.remember-row {
  font-size:14px;
  margin-bottom:20px;
}

.modern-login-btn {
  width:100%;
  padding:12px;
  border:none;
  border-radius:0px;
  background:#192f6b;
  color:white;
  font-weight:500;
  cursor:pointer;
  transition:0.3s;
}

.modern-login-btn:hover {
  background:#1e40af;
}

.login-error {
  background:rgba(255,0,0,0.2);
  padding:8px;
  border-radius:10px;
  margin-bottom:15px;
}

.fade-in {
  animation:fadeInUp 0.7s ease;
}

@keyframes fadeInUp {
  from {opacity:0; transform:translateY(40px);}
  to {opacity:1; transform:translateY(0);}
}

/* ===============================
   MODERN TIMELINE PRO
================================ */

.timeline-modern {
  position:relative;
  margin-top:15px;
  padding-left:25px;
}

.timeline-modern::before {
  content:"";
  position:absolute;
  left:10px;
  top:0;
  width:3px;
  height:100%;
  background:linear-gradient(#2563eb,#1e40af);
  border-radius:10px;
}

.timeline-item {
  position:relative;
  margin-bottom:20px;
  padding-left:30px;
}

.timeline-icon {
  position:absolute;
  left:-3px;
  top:0;
  width:26px;
  height:26px;
  background:#2563eb;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  font-size:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

.timeline-card {
  background:#ffffff;
  border-radius:12px;
  padding:14px 16px;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
  transition:0.2s;
}

.timeline-card:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.timeline-title {
  font-weight:700;
  font-size:15px;
}

.timeline-date {
  font-size:13px;
  color:gray;
  margin-top:3px;
}

/* ===============================
   DOMAIN PREVIEW CARD
================================ */

.preview-card {
  background:#ffffff;
  border-radius:0px;
  padding:25px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  text-align:center;
  transition:0.3s;
}

.preview-card:hover {
  transform:translateY(-5px);
  box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.preview-header {
  font-weight:700;
  margin-bottom:0px;
  font-size:18px;
}

.preview-body h3 {
  font-size:22px;
  margin-bottom:8px;
}

.preview-body p {
  color:#2563eb;
  font-size:14px;
  margin-bottom:15px;
}

.preview-badge {
  display:inline-block;
  padding:6px 14px;
  background:#16a34a;
  color:white;
  border-radius:0px;
  font-size:12px;
  font-weight:600;
}
/* ===== TOPBAR ===== */

.topbar {
  position:fixed;
  top:0;
  left:250px; /* sidebar genişliği */
  width:calc(100% - 250px);
  height:60px;
  background:linear-gradient(135deg,#334155,#0f172a);
  border-bottom:1px solid #e2e8f0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 25px;
  z-index:1000;
}

.topbar-left {
  font-size:14px;
  color:#ffffff;
  padding-left: 15px;
}

.topbar-right {
  display:flex;
  align-items:center;
  gap:20px;
}

.admin-name {
  font-size:14px;
  font-weight:500;
  color:#ffffff;
}

.logout-btn {
  background:#ef4444;
  color:white;
  padding:8px 14px;
  border-radius:0px;
  text-decoration:none;
  font-size:13px;
  transition:0.2s;
}

.logout-btn:hover {
  background:#dc2626;
}

/* ===== CONTENT ===== */

}
