:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-muted: #f8faff;
  --text: #1c2431;
  --muted: #59647a;
  --brand: #0b5ed7;
  --brand-dark: #0a47a5;
  --border: #dbe5f2;
  --shadow: 0 14px 32px rgba(10, 40, 88, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: radial-gradient(circle at top, #eaf2ff 0%, var(--bg) 38%, #f7f9fd 100%);
  color: var(--text);
  line-height: 1.55;
}

.container { width: min(1180px, 92%); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(115deg, #08327f 0%, #0b5ed7 55%, #2993ff 100%);
  color: #fff;
  padding: 14px 0 12px;
  box-shadow: 0 10px 26px rgba(7, 37, 92, 0.28);
}

.topbar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.topbar h1 { margin: 0; font-size: 30px; letter-spacing: .2px; }
.topbar p { margin: 4px 0 8px; color: #e4edff; }

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.brand-row.center { justify-content: center; }

.site-logo {
  width: 152px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.34));
}

.brand-mini-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 12px;
  padding: 7px;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.employee-login-btn {
  text-decoration: none;
  background: #fff;
  color: var(--brand);
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar nav a {
  color: #eaf2ff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 12px;
  transition: all .2s ease;
}

.topbar nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  padding: 48px 0;
  margin-bottom: 22px;
}

.hero-pro {
  background: #0748b8; /* düz mavi renk */
  color: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.hero-mhi-banner {
  display: block;
  width: min(860px, 100%);
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 42px); }
.hero p { margin: 0; max-width: 780px; }

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-light {
  display: inline-block;
  background: #fff;
  color: #0a4ea8;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.34);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.visual-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.visual-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.visual-card div { padding: 14px; }
.visual-card h3 { margin: 0 0 6px; }
.visual-card p { margin: 0; color: var(--muted); }

.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 18px 0;
  border: 1px solid var(--border);
}

.narrow { max-width: 520px; margin-top: 46px; }

label { display: block; margin-bottom: 12px; font-weight: 700; }

input, textarea, select, button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9d5e8;
  border-radius: 10px;
  margin-top: 6px;
  font: inherit;
}

textarea { min-height: 90px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7baaf3;
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.14);
}

button {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}

button:hover {
  opacity: 0.98;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(11, 94, 215, .25);
}

.danger { background: linear-gradient(120deg, #cc3b3b, #a82424); }

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  border-radius: 10px;
}

th, td {
  border: 1px solid #e2eaf6;
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

th { background: var(--surface-muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.stat h3 { margin: 0; font-size: 15px; color: #35445f; }
.stat p { margin: 8px 0 0; font-size: 23px; font-weight: 800; color: var(--brand); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}

.ticket {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
  background: #fbfdff;
}

.msg {
  background: #f2f7ff;
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 9px;
}

.week-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.week-links a {
  text-decoration: none;
  color: var(--brand);
  border: 1px solid #bad0f3;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f4f8ff;
}

.week-links a.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.day-card { margin: 10px 0; background: #fdfefe; }

.job-item {
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.contact-item {
  background: #f7faff;
  border: 1px solid #d7e4f7;
  border-radius: 12px;
  padding: 14px;
}

.contact-item h4 { margin: 0 0 6px; }
.contact-item p { margin: 4px 0; color: #30425f; }
.contact-item a { color: #0a4ea8; font-weight: 600; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.error { color: #d83c3c; font-weight: 700; }
.note { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .topbar { position: static; }
  .topbar-head { flex-direction: column; align-items: flex-start; }
  .card { padding: 16px; margin: 12px 0; }
  .topbar h1 { font-size: 24px; }
  .site-logo { width: 112px; }
  .brand-mini-logo { width: 44px; height: 44px; }
  input, textarea, select, button { font-size: 16px; }
}

@media (max-width: 600px) {
  .container { width: min(1180px, 95%); }
  .hero { padding: 26px 0; }
  .hero-mhi-banner { height: 110px; margin-bottom: 10px; }
  .visual-card img { height: 165px; }
  .employee-login-btn { width: 100%; text-align: center; }
  .site-logo { display: none; }
}
