/* vMix Overlay - 1920px banner */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 1920px;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

#overlay-banner {
    width: 1920px;
    height: 80px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #1a3a6e 0%, #2a5a9e 100%);
    font-family: Arial, sans-serif;
    color: #ffffff;
    position: relative;
}

/* Mode label (İFTAR / İMSAK) - left section */
#header-section {
    width: 200px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

#mode-label {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

/* Province columns container */
#provinces-container {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

/* Individual province slot */
.province-slot {
    flex: none;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    position: relative;
}

.province-slot:last-child {
    border-right: none;
}

.province-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.province-time {
    font-size: 30px;
    font-weight: 900;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* Highlight pulse via ::before overlay (text stays crisp) */
.province-slot.highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.18);
    animation: pulse 0.8s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Clock section - right */
#clock-section {
    width: 160px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

#current-time {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

#clock-sep.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Hidden state */
#overlay-banner.hidden {
    display: none;
}
