/* Telefondan tahtaya: düğme, pencere, bildirim, kart ve tahta ekranı.
   Marka rengini değiştirmek için :root içindeki --mvt-renk değerini düzenleyin. */

:root {
	--mvt-renk: var(--emerald, #10b981);      /* Temadaki zümrüt yeşili; başka renk için örn. var(--violet, #8b5cf6) */
	--mvt-renk-koyu: #059669;
	--mvt-yazi: #1c2540;
	--mvt-yuzey: #ffffff;
}

/* ---------- Telefon: içerik başındaki düğme (sabit/yüzen değil; reklamın üstüne binmez) ---------- */
/* Yalnızca dokunmatik telefon/tablet: ana işaretçisi dokunmatik, üzerine gelme (hover) yok, ekran dar.
   PC'de (fare) ve geniş tahta ekranlarında gizli kalır. Tablet sınırını gerekirse max-width ile değiştirin. */
.mvt-satir { display: none; margin: 18px 0 26px; }
@media (hover: none) and (pointer: coarse) and (max-width: 1199px) { .mvt-satir { display: block; } }
.mvt-dugme-satir {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; max-width: 420px; margin: 0 auto; box-sizing: border-box;
	padding: 16px; border: 0; border-radius: 8px;
	background: var(--mvt-renk); color: #fff;
	font-family: inherit; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	cursor: pointer; transition: all .25s;
}
.mvt-dugme-satir svg { width: 18px; height: 18px; flex-shrink: 0; }
.mvt-dugme-satir:hover, .mvt-dugme-satir:focus-visible {
	background: var(--mvt-renk-koyu); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.mvt-dugme-satir:active { transform: translateY(0); }
.mvt-dugme-satir:disabled { cursor: progress; opacity: .85; transform: none; }
.mvt-dugme-satir.mvt-basarili { background: #047857; }
.mvt-dugme-satir.mvt-hata { background: #b42318; }
@media print { .mvt-satir, .mvt-toast, .mvt-modal { display: none !important; } }

/* ---------- Telefon: bildirim ---------- */
.mvt-toast {
	position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 9995;
	transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
	max-width: min(92vw, 420px); padding: 11px 16px; border-radius: 12px;
	background: #1c2540; color: #fff; text-align: center;
	font: 500 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	transition: opacity .2s, transform .2s;
}
.mvt-toast.mvt-goster { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mvt-toast-eylem {
	margin-left: 6px; padding: 0; border: 0; background: none; color: #9cc8ff;
	font: inherit; text-decoration: underline; cursor: pointer;
}

/* ---------- Telefon: kod penceresi ---------- */
.mvt-modal {
	position: fixed; inset: 0; z-index: 9999; display: flex;
	align-items: center; justify-content: center; padding: 16px;
	background: rgba(15, 23, 42, .55);
}
.mvt-modal[hidden] { display: none; }
.mvt-modal-kutu {
	width: 100%; max-width: 360px; padding: 22px 20px; border-radius: 16px;
	background: var(--mvt-yuzey); color: var(--mvt-yazi); text-align: center;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mvt-modal-kutu h2 { margin: 0 0 8px; font-size: 20px; }
.mvt-modal-kutu p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.mvt-modal-adres { font-weight: 700; color: var(--mvt-renk); word-break: break-all; }
.mvt-modal-giris {
	box-sizing: border-box; width: 100%; padding: 12px; margin: 4px 0;
	border: 2px solid #c9d3e3; border-radius: 12px; background: #fff; color: var(--mvt-yazi);
	font: 700 28px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .4em; text-align: center;
}
.mvt-modal-giris:focus { outline: 0; border-color: var(--mvt-renk); }
.mvt-modal-hata { min-height: 1.3em; color: #b42318; }
.mvt-modal-btn, .mvt-modal-kapat { display: block; width: 100%; border-radius: 12px; font-family: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.mvt-modal-btn { padding: 13px; border: 0; background: var(--mvt-renk); color: #fff; }
.mvt-modal-btn:disabled { opacity: .6; }
.mvt-modal-kapat { margin-top: 8px; padding: 11px; border: 0; background: none; color: #5b6784; font-size: 14px; }

/* ---------- Öğretmen araçları kartı: [mv_tahta_karti] ---------- */
.mvt-kart {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
	border: 1px solid #dbe3ef; border-radius: 14px; background: #f7faff; color: var(--mvt-yazi);
}
.mvt-kart-ikon { font-size: 30px; line-height: 1; }
.mvt-kart-baslik { margin: 0 0 4px; font-size: 18px; }
.mvt-kart-metin { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.mvt-kart-dugme {
	display: inline-block; padding: 8px 14px; border-radius: 10px;
	background: var(--mvt-renk); color: #fff; font-weight: 600; text-decoration: none;
}
.mvt-kart-dugme:hover { background: var(--mvt-renk-koyu); color: #fff; }

/* ---------- Tahta ekranı (/tahta/) ---------- */
.mvt-cerceve { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; z-index: 2147483000; }
html, body.mvt-ekran { height: 100%; margin: 0; }
body.mvt-ekran {
	background: #0f1b33; color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mvt-eslestirme {
	box-sizing: border-box; min-height: 100%; padding: 24px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.mvt-baslik { margin: 0 0 8px; font-size: clamp(26px, 4vw, 44px); }
.mvt-adim { max-width: 640px; margin: 0 0 22px; font-size: clamp(15px, 1.8vw, 22px); line-height: 1.5; color: #cfd9ee; }
.mvt-kod-kutu { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; }
.mvt-qr { width: clamp(150px, 24vw, 260px); padding: 12px; border-radius: 14px; background: #fff; }
.mvt-qr svg { display: block; width: 100%; height: auto; }
.mvt-kod {
	font: 800 clamp(52px, 9vw, 120px)/1 ui-monospace, Menlo, Consolas, monospace;
	letter-spacing: .12em; padding-left: .12em;
}
.mvt-durum { margin: 22px 0 0; font-size: clamp(15px, 1.8vw, 22px); color: #9fb3d6; }
.mvt-dugme {
	margin-top: 16px; padding: 12px 22px; border: 0; border-radius: 12px;
	background: var(--mvt-renk); color: #fff; font-family: inherit; font-weight: 600; font-size: 18px; cursor: pointer;
}
.mvt-dugme.mvt-ikincil { background: transparent; border: 2px solid #4a5f8a; }
.mvt-ana {
	margin-top: 28px; padding: 8px 16px; border: 1px solid #3a4d78; border-radius: 999px;
	color: #9fb3d6; font-size: 14px; text-decoration: none;
}
.mvt-ana:hover, .mvt-ana:focus-visible { color: #fff; border-color: #6b82b3; }
.mvt-ana[hidden] { display: none; }
.mvt-mobil-not { display: none; margin-top: 18px; max-width: 420px; font-size: 14px; color: #9fb3d6; }
@media (max-width: 700px) { .mvt-mobil-not { display: block; } }

