* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background:
        radial-gradient(circle at 50% 100%, rgba(176, 82, 32, 0.18), transparent 38%),
        linear-gradient(180deg, #151616 0%, #070808 100%);
    color: #d8e4e4;
    font-family: Arial, sans-serif;
}

.service-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 70px;
    padding: 58px 54px 70px;
}

.service-left {
    min-width: 0;
}

.service-time {
    margin-bottom: 70px;
    display: flex;
    align-items: flex-start;
    gap: 54px;
}

.service-time-box {
    min-width: 220px;
}

.service-time-label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(210, 178, 122, 0.82);
}

.service-clock {
    font-size: 56px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #e4eeee;
}

.service-date {
    margin-top: 22px;
    font-size: 28px;
    color: rgba(216, 228, 228, 0.72);
}

.service-daily,
.service-status,
.service-issues {
    margin-bottom: 58px;
}

.service-daily h1,
.service-status h2,
.service-issues h2,
.service-right h2 {
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #e4eeee;
}

.service-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    overflow: visible;
}

.service-dot {
    position: relative;
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    cursor: default;
}

.service-dot.is-online {
    background: #75c943;
    box-shadow: 0 0 10px rgba(117, 201, 67, 0.42);
}

.service-dot.is-maintenance {
    background: #d6b24a;
    box-shadow: 0 0 10px rgba(214, 178, 74, 0.42);
}

.service-dot.is-offline {
    background: #d9574f;
    box-shadow: 0 0 10px rgba(217, 87, 79, 0.46);
}

.service-dot.is-future {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.service-dot-tooltip {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 20;
    min-width: 118px;
    padding: 8px 9px;
    transform: translateX(-50%) translateY(4px);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.94);
    color: #d8e4e4;
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.service-dot:hover .service-dot-tooltip,
.service-dot:focus .service-dot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.service-components {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px 44px;
    max-width: 980px;
}

.service-component {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 26px;
    font-size: 18px;
    color: rgba(216, 228, 228, 0.90);
}

.service-component-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
}

.service-component.is-online .service-component-dot {
    background: #75c943;
    box-shadow: 0 0 10px rgba(117, 201, 67, 0.42);
}

.service-component.is-maintenance .service-component-dot {
    background: #d6b24a;
    box-shadow: 0 0 10px rgba(214, 178, 74, 0.42);
}

.service-component.is-offline .service-component-dot {
    background: #d9574f;
    box-shadow: 0 0 10px rgba(217, 87, 79, 0.46);
}

.service-component-tooltip {
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 10;
    min-width: 220px;
    padding: 8px 9px;
    background: rgba(0, 0, 0, 0.94);
    color: #d8e4e4;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.service-component:hover .service-component-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.service-no-issues {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: transparent;
}

.service-no-issues::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url('/assets/img/service-bg.png') no-repeat center center;
    background-size: 340px auto;
    opacity: 0.55;
    filter: brightness(0.95);
}



.service-no-issues span {
    position: relative;
    z-index: 1;
    color: rgba(216, 228, 228, 0.92);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.service-issue-list {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

.service-issue-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-left: 3px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.service-issue-item.is-maintenance {
    border-left-color: #d6b24a;
}

.service-issue-item.is-offline {
    border-left-color: #d9574f;
}

.service-right {
    padding-top: 70px;
}

.service-message-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-message-card {
    position: relative;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.055);
}

.service-message-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border-style: solid;
    border-width: 0 0 14px 14px;
    border-color: transparent transparent rgba(255, 255, 255, 0.08) transparent;
}

.service-message-title {
    margin-bottom: 10px;
    font-size: 15px;
    color: #8ec9ff;
}

.service-message-card p {
    margin: 0 0 14px;
    color: rgba(216, 228, 228, 0.72);
    font-size: 13px;
    line-height: 1.6;
}

.service-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
    color: rgba(216, 228, 228, 0.48);
}

.service-message-meta strong {
    color: rgba(216, 228, 228, 0.78);
    text-transform: capitalize;
}

.service-message-warning .service-message-title {
    color: #d6b24a;
}

.service-message-resolved .service-message-title {
    color: #75c943;
}

.service-message-empty {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(216, 228, 228, 0.54);
}

@media (max-width: 1200px) {
    .service-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-right {
        padding-top: 0;
    }

    .service-components {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 700px) {
    .service-page {
        padding: 34px 20px 50px;
    }

    .service-clock {
        font-size: 44px;
    }

    .service-date {
        font-size: 22px;
    }

	.service-time {
        flex-direction: column;
        gap: 28px;
    }

    .service-dots {
        flex-wrap: wrap;
    }

    .service-components {
        grid-template-columns: 1fr;
    }
}

.service-header {
    position: relative;
    z-index: 5;
    min-height: 58px;
    padding: 10px 44px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(230, 230, 220, 0.10) 0%, rgba(0, 0, 0, 0.86) 100%);
}

.service-header-logo img {
    display: block;
    max-width: 92px;
    max-height: 42px;
    width: auto;
    height: auto;
}

.service-header-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.service-header-title strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #e4eeee;
}

.service-header-title span {
    font-size: 12px;
    color: rgba(216, 228, 228, 0.54);
}

.service-header-button {
    height: 34px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(210, 178, 122, 0.36);
    background: rgba(210, 178, 122, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.18s ease;
}

.service-header-button:hover {
    border-color: rgba(210, 178, 122, 0.72);
    background: rgba(210, 178, 122, 0.16);
    color: #ffffff;
}

.service-footer {
    position: relative;
    z-index: 5;
    min-height: 78px;
    padding: 16px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(176, 138, 74, 0.22);
    background:
        radial-gradient(circle at 50% 100%, rgba(176, 82, 32, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.94) 100%);
}

.service-footer-logo img {
    display: block;
    max-width: 100px;
    max-height: 56px;
    width: auto;
    height: auto;
    filter:
        drop-shadow(0 0 10px rgba(210, 178, 122, 0.14))
        drop-shadow(0 6px 12px rgba(0, 0, 0, 0.42));
}

.service-footer-copy {
    font-size: 12px;
    color: rgba(216, 228, 228, 0.46);
}

@media (max-width: 700px) {
    .service-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 14px 20px;
    }

    .service-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 16px 20px;
    }
}

.service-inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    margin: 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
    pointer-events: none;
}

.service-inline-button::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: 9px;
    border-radius: 50%;
    background: #7ad66d;
    box-shadow: 0 0 10px rgba(122, 214, 109, 0.7);
}