/* ========================
   IPAD PRO 11 INCH STYLES (769px - 900px)
   ======================== */

@media (min-width: 769px) and (max-width: 900px) {
    :root {
        --header-font-size: 4.5vw;
        --year-font-size: 5.5vw;
        --month-font-size: 3vw;
        --info-font-size: 3.5vw;
        --clock-font-size: 4.5vw;
        --button-font-size: 3vw;
    }

    body {
        overflow-y: auto;
    }

    .header {
        height: auto;
        min-height: 8vh; /* Compacter */
        padding: 6px 20px; /* Minder padding */
        padding-top: 10px; /* Controle over top */
        display: flex;
        align-items: flex-start; /* Tekst naar boven */
        border-bottom: 1px solid rgba(255, 255, 224, 0.1);
    }

    .header h1 {
        font-size: var(--header-font-size);
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
        margin-top: 0;
    }

    .main-content {
        height: auto;
        flex-direction: column;
        padding: 15px 20px;
        padding-bottom: 50px;
    }

    .left-content {
        width: 100%;
        padding: 20px;
        margin-bottom: 10px;
    }

    .year-month {
        margin-right: 0;
        margin-bottom: 15px;
        transform: translateY(-10px);
    }

    .year {
        font-size: var(--year-font-size);
    }

    .month {
        font-size: var(--month-font-size);
    }

    .info-section {
        margin-right: 0;
        margin-bottom: 20px;
        flex-grow: 0;
        transform: translateY(-10px);
    }

    .info-line {
        font-size: var(--info-font-size);
        margin-bottom: 8px;
    }

    .bottom-section {
        margin-right: 0;
        margin-bottom: 10px;
        transform: translateY(-15px);
    }

    .station {
        font-size: calc(var(--clock-font-size) * 0.8);
    }

    .clock {
        font-size: var(--clock-font-size);
    }

    .footer {
        font-size: calc(var(--info-font-size) * 2.5);
    }

    .btn {
        font-size: var(--button-font-size);
        padding: 12px 20px;
    }

    /* Image container - iPad Pro layout */
    .image-container {
        position: relative;
        right: 0;
        bottom: 0;
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
        max-width: none;
        max-height: 100vh;
        margin: 0 auto 10px auto;
        transform: translateY(-40px);
    }

    .bottom-row {
        flex-direction: row;
        align-items: flex-end;
        margin-top: -30px;
        transform: translateY(-20px);
    }

    .left-column {
        flex-direction: row;
        align-items: flex-end;
        gap: 25px;
    }

    .control-buttons {
        gap: 15px;
        transform: translateY(-15px);
    }

    /* Config panel aanpassingen voor iPad Pro */
    .config-panel {
        padding: 30px;
        margin: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .config-title {
        font-size: 24px;
    }

    .config-section h3 {
        font-size: 18px;
    }

    .config-select, .config-input {
        font-size: 16px;
        padding: 14px;
    }

    .config-btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    .status-indicator {
        font-size: 14px;
        top: 20px;
        right: 20px;
        padding: 10px 16px;
    }
}