/* Tailwind compat layer — minimum required utilities */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 1320px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: .25rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.ml-2 { margin-left: .5rem; }
.mr-1 { margin-right: .25rem; }
.mr-2 { margin-right: .5rem; }
.ml-3 { margin-left: .75rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.pl-3 { padding-left: .75rem; }
.pl-9 { padding-left: 2.25rem; }
.pr-4 { padding-right: 1rem; }
.pr-16 { padding-right: 4rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.flex { display: flex; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-7 { grid-template-columns: repeat(7, 1fr); }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-1\.5 { gap: .375rem; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-snug { line-height: 1.375; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-white { color: #fff; }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-slate-100 { background: #f1f5f9; }
.bg-slate-200 { background: #e2e8f0; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.rounded { border-radius: .25rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.opacity-75 { opacity: .75; }
.opacity-85 { opacity: .85; }
.underline { text-decoration: underline; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-hidden { overflow: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-1\/2 { top: 50%; }
.left-3 { left: .75rem; }
.right-3 { right: .75rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.transition-colors { transition: color .15s, background-color .15s, border-color .15s; }
.transition-opacity { transition: opacity .15s; }
.cursor-pointer { cursor: pointer; }
.list-disc { list-style-type: disc; }
.ml-5 { margin-left: 1.25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
/* Responsive — sm: 640px */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:w-72 { width: 18rem; }
}
/* Responsive — md: 768px */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-sm { font-size: .875rem; line-height: 1.25rem; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:gap-4 { gap: 1rem; }
}
/* Responsive — lg: 1024px */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-\[1\.15fr_\.85fr\] { grid-template-columns: 1.15fr .85fr; }
}

/* PAGE HEADER — yenilənmiş, container-xl ilə */
.page-header {
  background: linear-gradient(135deg, #005f5f 0%, #004040 60%, #b8860b 130%);
  color: #fff;
  padding: 44px 0 40px;
  position: relative;
}
.page-header > .container-xl { max-width: 1320px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.page-header .breadcrumb-row { font-size: 13px; opacity: .75; margin-bottom: 10px; }
.page-header .breadcrumb-row a { color: #fff; text-decoration: none; }
.page-header .breadcrumb-row a:hover { text-decoration: underline; }
.page-header h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.page-header .lead { font-size: 15px; opacity: .9; margin: 0; }
@media (max-width: 768px) {
  .page-header h1 { font-size: 24px; }
  .page-header .lead { font-size: 14px; }
}

body { font-family: 'Inter', sans-serif; }
.nav-blur { backdrop-filter: blur(12px); background: rgba(255,255,255,.85); }
.hero-grad { background: linear-gradient(135deg,#005f5f 0%, #004040 60%, #b8860b 130%); }
.gradient-btn { background: linear-gradient(135deg,#005f5f,#008080); color:#fff; }
.gradient-btn:hover { background: linear-gradient(135deg,#004848,#006666); color:#fff; }
.gradient-gold { background: linear-gradient(135deg,#b8860b,#d4a017); color:#fff; }

.feature-card { transition: transform .2s, box-shadow .2s, border-color .2s; border:1.5px solid #e2e8f0; background:#fff; border-radius:18px; }
.feature-card:hover { transform: translateY(-2px); box-shadow:0 8px 24px rgba(0,95,95,.1); border-color:#005f5f; }

/* Tag/chip palettes — project-consistent */
.chip { display:inline-flex; align-items:center; gap:.35rem; padding:.32rem .7rem; border-radius:999px; font-size:.74rem; font-weight:700; }
.chip-vergi   { background:#e6f4f4; color:#005f5f; }
.chip-sosial  { background:#dbeafe; color:#1e40af; }
.chip-stat    { background:#f3e8ff; color:#6b21a8; }
.chip-daxili  { background:#fef3c7; color:#92400e; }
.chip-late    { background:#fee2e2; color:#b91c1c; }
.chip-soon    { background:#fef3c7; color:#92400e; }
.chip-normal  { background:#dcfce7; color:#15803d; }
.chip-personal{ background:#fce7f3; color:#9d174d; }

/* Calendar grid */
.cal-cell {
  aspect-ratio: 1;
  border:1px solid #e2e8f0;
  border-radius: 10px;
  background:#fff;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:2px;
  transition:.15s;
  cursor:default;
  min-height:64px;
  overflow:hidden;
}
.cal-cell.has-events { cursor:pointer; }
.cal-cell.has-events:hover { background:#fafafa; border-color:#005f5f; transform: scale(1.03); }
.cal-cell.today { background:#fef3c7; border-color:#b8860b; border-width:2px; }
.cal-cell.outside { opacity:.35; background:#f8fafc; }
.cal-cell-num { font-size:13px; font-weight:700; color:#334155; line-height:1; }
.cal-cell.today .cal-cell-num { color:#92400e; }
.cal-cell-marker { width:6px; height:6px; border-radius:50%; }
.cal-cell-markers { display:flex; gap:2px; flex-wrap:wrap; margin-top:auto; }
.marker-vergi   { background:#005f5f; }
.marker-sosial  { background:#1e40af; }
.marker-stat    { background:#6b21a8; }
.marker-daxili  { background:#b8860b; }
.marker-personal{ background:#9d174d; }

/* Calendar header weekday names */
.cal-weekday { text-align:center; font-size:11px; font-weight:700; color:#64748b; text-transform:uppercase; letter-spacing:.04em; padding:6px 0; }
.cal-weekday.we { color:#b91c1c; } /* weekend */

/* Deadline rows */
.dl-row { display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; padding:14px; border:1.5px solid #e2e8f0; border-radius:14px; background:#fff; transition:.15s; }
.dl-row:hover { border-color:#005f5f; box-shadow:0 4px 12px rgba(0,95,95,.06); }
.dl-date-block { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:56px; padding:8px 10px; background:#f8fafc; border-radius:10px; border:1px solid #e2e8f0; }
.dl-date-day { font-size:22px; font-weight:800; line-height:1; color:#0f172a; }
.dl-date-mon { font-size:11px; font-weight:700; color:#64748b; text-transform:uppercase; margin-top:2px; letter-spacing:.04em; }

/* Modal */
.modal-bg { display:none; position:fixed; inset:0; background:rgba(15,23,42,.55); z-index:100; align-items:center; justify-content:center; padding:1rem; }
.modal-bg.open { display:flex; }
.modal-box { background:#fff; border-radius:20px; max-width:480px; width:100%; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.modal-day-list { display:flex; flex-direction:column; gap:8px; max-height:340px; overflow-y:auto; }

/* Mobile menu */
.mobile-menu { display:none; }
.mobile-menu.open { display:block; }

/* Auth buttons (matches dersler.html / materiallar.html) */
.e-auth-block { display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; }
.e-auth-btn { display:inline-flex; align-items:center; gap:6px; padding:9px 18px; border-radius:8px; font-size:14px; font-weight:600; text-decoration:none !important; border:none; cursor:pointer; line-height:1; font-family:inherit; white-space:nowrap; transition: background .15s, opacity .15s; }
.e-auth-btn-primary { background:#005f5f; color:#fff !important; }
.e-auth-btn-primary:hover { background:#004c4c; color:#fff !important; }
.e-auth-btn-outline { background:#fff; color:#334155 !important; border:1.5px solid #cbd5e1; }
.e-auth-btn-outline:hover { border-color:#005f5f; color:#005f5f !important; }
.e-auth-btn-logout { background:#fee2e2; color:#b91c1c !important; padding:9px 12px; }
.e-auth-btn-logout:hover { background:#fecaca; }

/* Disclaimer banner */
.disclaimer { background:#fffbeb; border:1.5px solid #fde68a; color:#92400e; }
