/* ════════════════════════════════════════
   RESPONSIVE — DESKTOP (768px+)
   ════════════════════════════════════════ */

@media (min-width: 768px) {
    body {
        overflow: auto;
        display: block;
    }

    .navbar {
        position: sticky;
        top: 0;
    }

    .nav-links {
        display: flex;
    }

    .nav-hamburger {
        display: none;
    }

    .bottom-nav {
        display: none;
    }

    .main-content {
        padding: 32px 24px 56px;
        overflow-y: visible;
        flex: none;
        min-height: calc(100dvh - var(--navbar-h));
    }

    .nav-container {
        height: 62px;
    }

    :root {
        --navbar-h: 62px;
    }

    .auth-card {
        padding: 48px 36px 40px;
    }
}

/* --- Training Notes --- */
.note-mic-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.note-mic-btn:hover {
    border-color: var(--crimson);
    color: var(--crimson);
}

.note-mic-btn.recording {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
    animation: micPulse 1.5s ease-in-out infinite;
}

@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 26, 26, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(139, 26, 26, 0); }
}

.trainer-note {
    border-left: 3px solid var(--crimson);
}

.att-current-training {
    border-left: 3px solid var(--crimson);
}

.badge-current {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--crimson-glow);
    color: var(--crimson);
}

.att-note-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
}

.att-note-link:hover {
    background: var(--crimson-glow);
    color: var(--crimson);
}

.att-note-link.has-note {
    color: var(--crimson);
}

/* Large screens */
@media (min-width: 1024px) {
    .auth-container {
        max-width: 460px;
    }
}

/* ════════════════════════════════════════
   iOS FOCUS ZOOM
   ════════════════════════════════════════ */
/* iOS Safari při fokusu do pole s písmem < 16px celou stránku přizoomuje
   a po zavření klávesnice zoom zůstane. Na dotykových zařízeních proto
   všechna textová pole drží 16px. !important záměrně — přebíjí i
   specifičtější pravidla (.form-group input, .chat-modal-box .input…);
   desktopu se pravidlo netýká. */
@media (hover: none) and (pointer: coarse) {
    input[type="text"], input[type="search"], input[type="email"],
    input[type="url"], input[type="tel"], input[type="password"],
    input[type="number"], input[type="date"], input[type="time"],
    input[type="datetime-local"], input:not([type]),
    textarea, select {
        font-size: 16px !important;
    }
}
