/* Teacher application page (/teach/ ⇄ /tr/ogretmen-ol/). Adult palette v3. */
.tp-form { max-width: 820px; margin: 0 auto; display: grid; gap: 22px; }
.tp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tp-box { border: 0; margin: 0; padding: 26px 0 4px; border-top: 1px solid rgba(72, 89, 53, .18); display: grid; gap: 16px; min-width: 0; }
.tp-box legend { font-weight: 800; font-size: 1.25rem; color: #485935; padding: 0 0 2px; float: left; width: 100%; }
.tp-box legend + * { clear: both; }
.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.tp-f { display: grid; align-content: start; gap: 6px; font-weight: 700; font-size: .95rem; color: #2B3326; }
.tp-f input, .tp-f select, .tp-f textarea { font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.45; color: #1F2A1C; background: #fff; border: 1.5px solid #D5DCCB; border-radius: 12px; padding: .7em .85em; width: 100%; box-sizing: border-box; min-height: 48px; }
.tp-f textarea { resize: vertical; min-height: 160px; }
.tp-f input:focus, .tp-f select:focus, .tp-f textarea:focus { outline: none; border-color: #93A267; box-shadow: 0 0 0 3px rgba(147, 162, 103, .25); }
.tp-f small, .tp-hint { font-weight: 500; font-size: .88rem; color: #5C6355; margin: 0; }
.tp-chks { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.tp-chks .tp-chk { border: 1.5px solid #D5DCCB; background: #fff; border-radius: 999px; padding: 9px 14px; min-height: 44px; box-sizing: border-box; transition: border-color .15s, background .15s; }
.tp-chks .tp-chk:has(input:checked) { border-color: #485935; background: #EEF3E6; }
.tp-chk input { width: 18px; height: 18px; accent-color: #485935; margin: 0; flex: none; }
.tp-chk img { margin-right: 2px;  border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.tp-agree { align-items: flex-start; font-weight: 500; line-height: 1.45; }
.tp-agree input { margin-top: 3px; }
.tp-exams { display: grid; gap: 10px; padding: 14px 0 0; }
.tp-rec { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tp-recbtn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 1rem; font-weight: 800; color: #fff; background: #485935; border: 0; border-radius: 999px; padding: 14px 24px; min-height: 52px; cursor: pointer; }
.tp-recbtn:hover { background: #3D4C2D; }
.tp-recbtn:disabled { opacity: .45; cursor: not-allowed; }
.tp-recbtn .dot { width: 12px; height: 12px; border-radius: 50%; background: #F7DDD5; }
.tp-recbtn.on { background: #8B3E12; }
.tp-recbtn.on .dot { background: #fff; animation: tpPulse 1s ease-in-out infinite; }
@keyframes tpPulse { 50% { transform: scale(1.5); opacity: .6; } }
.tp-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #5C6355; }
.tp-voice audio { width: 100%; max-width: 460px; }
.tp-or { margin: 0; font-size: .92rem; color: #5C6355; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-upl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #D5DCCB; background: #fff; border-radius: 999px; font-weight: 700; color: #2B3326; cursor: pointer; }
.tp-upl input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tp-upl:focus-within { box-shadow: 0 0 0 3px rgba(147, 162, 103, .35); }
.tp-err { margin: 0; background: #FDECEC; color: #8A1F1F; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.tp-send { justify-self: start; font-size: 1.05rem; min-height: 54px; padding: 0 32px; border: 0; cursor: pointer; }
.tp-send:disabled { opacity: .6; cursor: wait; }
.tp-done { max-width: 620px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 0; }
.tp-done h3 { margin: 0; font-size: 1.6rem; color: #485935; }
.tp-done p { margin: 0; color: #4E5648; font-size: 1.05rem; }
@media (max-width: 700px) { .tp-grid { grid-template-columns: minmax(0, 1fr); } .tp-send { justify-self: stretch; } }
