/* Environment status footer (hand-written, not part of the SCSS build) */

.status-footer-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #888ea8;
}

.status-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot--green {
    background: #00ab55;
    box-shadow: 0 0 6px 1px rgba(0, 171, 85, 0.7);
}

.status-dot--orange {
    background: #e2a03f;
    box-shadow: 0 0 6px 1px rgba(226, 160, 63, 0.8);
    animation: status-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes status-dot-pulse {
    0%, 100% {
        box-shadow: 0 0 4px 1px rgba(226, 160, 63, 0.5);
    }
    50% {
        box-shadow: 0 0 10px 2px rgba(226, 160, 63, 0.95);
    }
}

.status-footer-button {
    border: 1px solid #e2a03f;
    border-radius: 4px;
    background: transparent;
    color: #e2a03f;
    font-size: 11px;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
}

.status-footer-button:hover:not(:disabled) {
    background: #e2a03f;
    color: #fff;
}

.status-footer-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.status-env {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Server-synchronized clock: Slovak date on one line, ticking time below it */
.status-clock {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    font-size: 12px;
}

.status-clock-date::first-letter {
    text-transform: uppercase;
}

.status-clock-time {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Main layout: status block on top, legal line pushed far below it */
.footer-wrapper--stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-wrapper--stacked .footer-legal {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

/* Login/public pages: pin the indicators to the bottom of the viewport */
body.form .status-footer-block {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    align-items: center;
    padding: 10px 0;
    z-index: 5;
}

body.form .status-footer {
    justify-content: center;
}

body.form .status-clock {
    align-items: center;
}
