/* ========================
   TABLET STYLES (481px - 768px)
   ======================== */

:root {
    --header-font-size: 5.5vw;
    --year-font-size: 6.5vw;
    --month-font-size: 3.5vw;
    --info-font-size: 4vw;
    --clock-font-size: 5vw;
    --button-font-size: 3.5vw;
}

body {
    overflow-y: auto;
}

.header {
    height: auto;
    min-height: 10vh;
    padding: 8px 10px; /* Verminderde padding */
    padding-top: 10px; /* Top padding voor controle */
    border-bottom: 1px solid rgba(255, 255, 224, 0.1);
    align-items: flex-start; /* Tekst naar boven */
}

.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: 10px;
    padding-bottom: 40px;
}

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

.year-month {
    margin-right: 0;
    margin-bottom: 20px;
}

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

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

.info-section {
    margin-right: 0;
    margin-bottom: 25px;
    flex-grow: 0;
}

.info-line {
    font-size: var(--info-font-size);
}

.bottom-section {
    margin-right: 0;
    margin-bottom: 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) * 0.8);
}

.btn {
    font-size: var(--button-font-size);
}

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

.bottom-row {
    flex-direction: row;
    align-items: flex-end;
    margin-top: -15px;
}

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

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

/* Config panel aanpassingen voor tablet */
.config-panel {
    padding: 25px;
    margin: 20px;
}

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

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

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

.config-btn {
    font-size: 15px;
    padding: 12px 22px;
}

.status-indicator {
    font-size: 13px;
    top: 15px;
    right: 15px;
    padding: 8px 14px;
}