/* styles.css - modern, temiz, kurumsal görünüm */

/* Variables */
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #243b8a; /* lacivert */
  --accent-2: #2f4db7;
  --danger: #d32f2f;
  --success: #2e7d32;
  --glass: rgba(255,255,255,0.6);
  --radius: 12px;
  --shadow-1: 0 6px 18px rgba(35,45,80,0.06);
}

/* Global */
* { box-sizing: border-box; }
html,body { height:100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #f6f8fc 0%, var(--bg) 100%);
  color: #0f1724;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* center wrapper for login */
.wrap-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* AUTH CARD */
.auth-card {
  width: 420px;
  max-width: calc(100% - 40px);
  background: var(--card);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(36,59,138,0.06);
}

.brand {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom: 18px;
}
.logo {
  width:52px;height:52px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color:white;font-weight:700;font-size:18px;
  box-shadow: 0 6px 18px rgba(47, 77, 183, 0.18);
}
.brand h1 { font-size:20px; margin:0; color:var(--accent); }

/* Alerts */
.alert { padding:12px 14px; border-radius:10px; margin:12px 0; font-size:14px; }
.alert-danger { background:#fff5f5; color:var(--danger); border:1px solid rgba(211,47,47,0.08); }

/* Forms */
.form { display:block; margin-top:8px; }
.field { display:block; margin-bottom:12px; }
.field span { display:block; font-size:13px; color:var(--muted); margin-bottom:6px; }
input[type="text"], input[type="password"], input[type="date"], textarea {
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid #e6e9f2;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  font-size:14px; color:#09102a;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 6px 18px rgba(36,59,138,0.08); }

textarea { resize:vertical; min-height:110px; }

/* Buttons */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:10px; border: none; cursor:pointer;
  background: var(--accent); color: #fff; font-weight:600; font-size:14px; text-decoration:none;
  box-shadow: 0 8px 22px rgba(36,59,138,0.12);
}
.btn.ghost { background: transparent; color: var(--accent); border:1px solid rgba(36,59,138,0.08); box-shadow:none; }
.btn.small { padding:6px 8px; font-size:13px; border-radius:8px; }
.btn.primary { background: linear-gradient(90deg,var(--accent),var(--accent-2)); }
.btn:active { transform: translateY(1px); }

/* Page layout */
.navbar {
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 24px; gap:16px;
  background: linear-gradient(90deg, rgba(36,59,138,0.95), rgba(47,77,183,0.95));
  color:#fff;
}
.nav-left { display:flex; align-items:center; gap:12px; }
.brand-mini { width:40px; height:40px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:700; background:rgba(255,255,255,0.12); }
.nav-right { display:flex; gap:10px; align-items:center; }

.container {
  max-width:1200px; margin:28px auto; padding: 0 18px;
}

/* cards and grid */
.card {
  background: var(--card); padding:20px; border-radius:12px; box-shadow: var(--shadow-1); margin-bottom:18px;
  border:1px solid rgba(9,16,36,0.03);
}
.stats-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-bottom:18px; }
.stat-card { padding:18px; border-radius:12px; background: linear-gradient(180deg, #fff, #fbfdff); box-shadow: 0 10px 22px rgba(12,24,60,0.04); }
.stat-title { font-size:13px; color:var(--muted); }
.stat-value { font-size:24px; font-weight:700; color:var(--accent); margin-top:8px; }

/* table */
.table-responsive { overflow:auto; }
.modern-table { width:100%; border-collapse:collapse; font-size:14px; }
.modern-table thead th {
  text-align:left; padding:12px 14px; background: linear-gradient(90deg, rgba(36,59,138,0.95), rgba(47,77,183,0.95));
  color:#fff; font-weight:600; border-radius:8px;
}
.modern-table tbody td { padding:12px 14px; border-bottom: 1px solid #f1f3f8; color:#0f1724; }
.modern-table tbody tr:hover { background: #fbfcff; }

/* statuses */
.status { display:inline-block; padding:6px 10px; border-radius:999px; font-weight:600; font-size:13px; }
.status.open { background:#fff4e6; color:#a64d00; border:1px solid rgba(166,77,0,0.06); }
.status.done { background:#e8f8ee; color:var(--success); border:1px solid rgba(46,125,50,0.06); }

/* form grid for add meeting/card */
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.field.full { grid-column: 1 / -1; }
.actions { display:flex; gap:10px; align-items:center; margin-top:8px; }

/* responsive */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; align-items: flex-start; gap:10px; padding:18px; }
}
.muted { color: var(--muted); font-size:13px; }
