/* ../css/timer-max768.css */

@media (max-width: 768px) {
    /* Wyrównanie karty timera na mobilkach do reszty modułów systemowych */
    .timer-widget-container {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        margin: 8px auto 16px auto !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    /* Nagłówek summary - elastyczne układanie tytułu i statusu bez ścisku */
    .timer-widget-summary {
        padding: 12px 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .timer-widget-title {
        font-size: 13px !important;
        letter-spacing: 0 !important;
        flex: 1 1 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .timer-widget-status {
        font-size: 10px !important;
        padding: 2px 6px !important;
        letter-spacing: 0.3px !important;
    }

    .akordeon-strzalka {
        font-size: 12px !important;
    }

    /* Wnętrze timera */
    .timer-widget-container .timer-widget-body {
        padding: 14px 10px 16px 10px !important;
        gap: 12px !important;
    }

    /* Pola wprowadzania czasu HH : MM : SS */
    .timer-inputs-wrapper {
        gap: 4px !important;
        justify-content: center !important;
    }

    .timer-input {
        width: 52px !important;
        max-width: 55px !important;
        height: 42px !important;
        padding: 6px 2px !important;
        font-size: 16px !important; /* Zapobiega auto-zoomowi w iOS Safari */
        border-radius: var(--promien-inputa) !important;
    }

    .timer-colon {
        font-size: 16px !important;
        padding: 0 2px;
    }

    /* Cyfrowy zegar odliczania */
    .timer-display-wrapper {
        padding: 2px 8px !important;
    }

    .timer-display-clock {
        font-size: 26px !important;
        letter-spacing: 1.5px !important;
    }

    /* Przyciski operacyjne - pełny pasek dotykowy */
    .timer-controls {
        gap: 8px !important;
        width: 100% !important;
    }

    .btn-timer {
        flex: 1 1 0% !important; /* Wszystkie widoczne przyciski mają równą szerokość */
        padding: 12px 8px !important;
        font-size: 13px !important;
        text-align: center !important;
        min-height: 44px !important; /* Wygodny obszar dotykowy pod kciuk */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}