.health_content {
    width: 100%;
    height: auto;
    margin-top: 110px;
}

.health-container {
    width: calc(100% - 80px);
    margin-left: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.health-hero {
    width: 100%;
    min-height: 260px;
    background: #060E15;
    background: linear-gradient(90deg,rgba(6, 14, 21, 0.9) 0%, rgba(5, 14, 21, 1) 50%, rgba(12, 15, 20, 1) 100%);
    border-radius: 10px;
    border: solid 1px #161d23;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.health-hero-copy {
    display: flex;
    flex-direction: column;
}

.health-eyebrow {
    color: var(--textColorOrange);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.health-title {
    font-size: 2.4rem;
    font-weight: bold;
}

.health-orange {
    color: var(--textColorOrange);
    background-image: linear-gradient(0deg,rgba(238, 86, 7, 1) 0%, rgba(242, 117, 17, 1) 69%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.health-subtitle {
    margin-top: 20px;
    color: #bbb6b7;
    line-height: 26px;
    max-width: 720px;
}

.health-last-check {
    min-width: 240px;
    background-color: #0d1318;
    border: solid 1px #22282d;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.health-label {
    color: #888;
    font-size: 0.8rem;
}

.health-last-check-value {
    color: var(--textColorWhite);
    font-size: 1rem;
}

.health-message {
    width: 100%;
    background-color: #0d1318;
    border: solid 1px rgba(238, 130, 13, 0.35);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 18px 22px;
    color: #bbb6b7;
}

.health-summary,
.health-services,
.health-resources,
.health-charts {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.health-summary {
    flex-direction: row;
    gap: 20px;
}

.health-card,
.health-chart-card {
    background-color: #0d1318;
    border: solid 1px #22282d;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.health-card {
    flex: 1 1 0;
    min-width: 0;
}

.health-card-main {
    flex: 1.4 1 0;
}

.health-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.health-status-title {
    font-size: 1.8rem;
    margin-top: 8px;
}

.health-card-text {
    color: #bbb6b7;
    font-size: 0.9rem;
    line-height: 24px;
    margin-top: 18px;
}

.health-badge {
    min-height: 30px;
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: solid 1px #1f252c;
    color: #bbb6b7;
    background-color: #091118;
}

.health-badge-online {
    color: var(--textColorGreen);
    border-color: rgba(77, 149, 103, 0.45);
    background-color: rgba(77, 149, 103, 0.1);
}

.health-badge-degraded {
    color: var(--textColorYellow);
    border-color: rgba(181, 160, 28, 0.45);
    background-color: rgba(181, 160, 28, 0.1);
}

.health-badge-offline {
    color: #f06f6f;
    border-color: rgba(240, 111, 111, 0.45);
    background-color: rgba(240, 111, 111, 0.1);
}

.health-badge-unknown {
    color: #888;
}

.health-metric-value {
    margin-top: 10px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--textColorOrange);
}

.health-section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.health-grid,
.health-chart-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}

.health-grid-three .health-card {
    width: calc((100% - 40px) / 3);
}

.health-service-name {
    font-size: 1rem;
    color: var(--textColorWhite);
}

.health-service-status {
    color: #bbb6b7;
    margin-top: 8px;
    font-size: 0.9rem;
}

.health-service-details {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #bbb6b7;
    font-size: 0.9rem;
}

.health-resource-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.health-resource-percent {
    font-size: 1.5rem;
    color: var(--textColorOrange);
    font-weight: bold;
}

.health-progress {
    width: 100%;
    height: 10px;
    background-color: #091118;
    border: solid 1px #1f252c;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 22px;
}

.health-progress-bar {
    height: 100%;
    background: #EE5607;
    background: linear-gradient(45deg,rgba(238, 86, 7, 1) 0%, rgba(242, 117, 17, 1) 69%);
    border-radius: 8px;
}

.health-chart-card {
    width: 50%;
}

.health-chart-title {
    font-size: 1rem;
    margin-bottom: 20px;
}

.health-chart-wrap {
    width: 100%;
    height: 320px;
}

@media (max-width: 1024px) {
    .health-summary,
    .health-grid,
    .health-chart-grid {
        flex-wrap: wrap;
    }

    .health-summary .health-card,
    .health-grid .health-card {
        flex-basis: calc(50% - 10px);
    }

    .health-grid-three .health-card {
        width: calc(50% - 10px);
    }

    .health-chart-card {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .health-container {
        width: calc(100% - 30px);
        margin-left: 15px;
        gap: 25px;
    }

    .health-hero {
        min-height: auto;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .health-title {
        font-size: 1.8rem;
    }

    .health-last-check {
        min-width: 0;
        width: 100%;
    }

    .health-summary,
    .health-grid,
    .health-chart-grid {
        flex-direction: column;
    }

    .health-grid-three .health-card,
    .health-summary .health-card,
    .health-grid .health-card,
    .health-chart-card {
        width: 100%;
        flex-basis: auto;
    }

    .health-card-header,
    .health-resource-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .health-chart-wrap {
        height: 260px;
    }
}
