/* TEKNONET - ortak beyaz ve lacivert tasarım */
:root {
    --navy: #142d50;
    --bg: #edf2f7;
    --border: #d3dce7;
    --muted: #53677d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--navy); font: 16px/1.5 Arial, sans-serif; }
header { background: white; border-bottom: 4px solid var(--navy); padding: 12px 20px; }
.brand { max-width: 1150px; margin: auto; display: flex; align-items: center; gap: 16px; }
.brand img { width: 82px; height: auto; }
.brand strong { display: block; font-size: 22px; }
.brand span { color: var(--muted); font-size: 14px; }
main { max-width: 1182px; padding: 24px 16px; margin: auto; }
main.login { max-width: 480px; margin: 30px auto; }
h1 { margin: 0 0 10px; font-size: clamp(25px, 4vw, 34px); line-height: 1.2; }
h2 { margin-top: 0; font-size: 21px; }
h3 { margin-top: 20px; }
p { margin: 8px 0 16px; }
.eyebrow { font-size: 12px; font-weight: bold; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 8px; }
.panel { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; min-width: 0; box-shadow: 0 4px 16px #142d5008; }
.muted, .subtle { color: var(--muted); }
.small { font-size: 13px; }
.notice { padding: 12px 14px; border-left: 4px solid var(--navy); background: #fff; border-radius: 4px; }
label { font-weight: bold; font-size: 14px; display: block; margin-bottom: 5px; }
input, select, button { font: inherit; padding: 10px 12px; min-height: 44px; border: 1px solid #acbbce; border-radius: 8px; background: #fff; color: var(--navy); }
input, select { max-width: 100%; }
button { font-weight: bold; cursor: pointer; }
button:hover, a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #5692cc; outline-offset: 2px; }
.login input, .login button { width: 100%; margin-bottom: 14px; }
.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.topline, .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.topline { justify-content: space-between; }
.filters { margin: 14px 0; }
.filters label { margin: 0; }
a { color: var(--navy); }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
nav a { text-decoration: none; padding: 11px 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-weight: bold; }
nav a.active { background: var(--navy); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats span { font-size: 13px; color: var(--muted); display: block; }
.stats strong { display: block; font-size: clamp(16px, 2.4vw, 25px); margin-top: 6px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.module { text-decoration: none; }
.module p { color: var(--muted); }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
th { background: #edf2f7; white-space: nowrap; }
td.number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.detail dt { font-size: 13px; color: var(--muted); }
.detail dd { margin: 3px 0; font-weight: bold; overflow-wrap: anywhere; }
footer { text-align: center; font-size: 13px; color: var(--muted); padding: 16px; }
@media (max-width: 800px) {
    .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .module-grid, .detail { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px) {
    header { padding: 9px 14px; }
    .brand img { width: 66px; }
    .brand strong { font-size: 17px; }
    main { padding: 16px 12px; }
    .panel { padding: 15px; }
    .module-grid, .detail { grid-template-columns: 1fr; }
    .filters { display: grid; grid-template-columns: 1fr; gap: 7px; }
    .filters input, .filters select, .filters button { width: 100%; }
    nav { display: grid; grid-template-columns: 1fr 1fr; }
    nav a { text-align: center; padding: 10px 6px; }
    th, td { padding: 10px 8px; }
}

/* Yeni kayıt ve ödeme formları */
.form-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:14px 0; }
.field { min-width:0; }
.form-grid input,.form-grid select { display:block; width:100%; margin-top:5px; }
.section-gap { margin-top:16px; }
.actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
a.button { display:inline-block; text-decoration:none; border:1px solid #acbbce; border-radius:8px; padding:10px 14px; font-weight:bold; }
a.primary { color:white; }
.danger { color:#a02532; border-color:#a02532; }
details { margin-top:14px; padding:14px; border:1px solid var(--border); border-radius:8px; }
summary { cursor:pointer; font-weight:bold; }
.student-photo { width:100px; max-height:150px; object-fit:contain; display:block; margin:10px 0; }
.compact { grid-template-columns:repeat(3,minmax(0,1fr)); background:#edf2f7; padding:14px; border-radius:8px; margin-bottom:14px; }
@media(max-width:760px) { .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .form-grid,.compact { grid-template-columns:1fr; } .actions a.button { width:100%; text-align:center; } }
@media print { @page { size:A4 landscape; margin:12mm; } body { background:white; color:#111; font-size:11pt; } .no-print,nav,button,footer { display:none!important; } main { padding:0; max-width:none; } .panel { box-shadow:none; border:0; padding:0; } .table-wrap { overflow:visible; } table { font-size:10pt; } tr { break-inside:avoid; } th,td { padding:5px; } }
