html.vitara-checkHealth-root * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html.vitara-checkHealth-root {
    font-size: 62.5%;
}

.vitara-checkHealth {
    background-color: #f6f8fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vitara-checkHealth .page-title {
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 6rem;
}

.vitara-checkHealth .status-table {
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    border-bottom: none;
}

.vitara-checkHealth .status-table, .vitara-checkHealth .error-display-section {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 100rem;
    margin: 4rem auto;
}

.vitara-checkHealth .status-item {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    list-style: none;
    flex-basis: 50%;
    padding: 2.2rem;
}

.vitara-checkHealth .status-label {
    color: #24292e;
    font-size: 1.6rem;
    font-weight: 500;
}

.vitara-checkHealth .status-flag {
    color: #6a737d;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.vitara-checkHealth .error-details {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 2rem;
    margin-top: 1rem;
}

.vitara-checkHealth .error-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.vitara-checkHealth .error-details summary .expand {
    height: 3rem;
    transition: transform ease 0.4s;
}

.vitara-checkHealth .error-details[open] summary .expand {
    transform: rotate(180deg);
}

.vitara-checkHealth .error-list {
    list-style: none;
    margin-top: 1.2rem;
}

.vitara-checkHealth .error-list li {
    display: flex;
    column-gap: 1rem;
}

.vitara-checkHealth .error-list li:not(:first-of-type) {
    margin-top: 1rem;
}

.vitara-checkHealth .error-message {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-top: -1px;
}

.vitara-checkHealth .error-message b {
    font-weight: 600;
}

.vitara-checkHealth .error-message p {
    display: inline;
}

.vitara-checkHealth .status-icon svg, .error-icon svg {
    height: 2.6rem;
}

@media scren and (min-width: 544px) {
    .vitara-checkHealth .status-table, .vitara-checkHealth .error-display-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media screen and (max-width: 650px) {
    html {
        font-size: 55%;
    }
}

@media screen and (min-width: 700px) {
    .vitara-checkHealth .status-item:nth-of-type(1),
    .vitara-checkHealth .status-item:nth-of-type(2) {
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .vitara-checkHealth .status-item:nth-of-type(odd) {
        border-left: 1px solid rgba(0,0,0,0.1);
    }

    .vitara-checkHealth .status-item:nth-of-type(1) {
        border-top-left-radius: 5px;
    }

    .vitara-checkHealth .status-item:nth-of-type(2) {
        border-top-right-radius: 5px;
    }

    /* Odd number of cards */
    .vitara-checkHealth .status-item:nth-of-type(odd):last-of-type {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .vitara-checkHealth .status-item:nth-of-type(even):nth-last-of-type(2) {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 5px;
    }

    /* Even number of cards */
    .vitara-checkHealth .status-item:nth-last-of-type(1) {
        border-bottom-right-radius: 5px;
    }

    .vitara-checkHealth .status-item:nth-last-of-type(2) {
        border-bottom-left-radius: 5px;
    }
}

@media screen and (max-width: 700px) {
    .vitara-checkHealth .status-icon svg, .vitara-checkHealth .error-icon svg {
        height: 2.8rem;
    }

    .vitara-checkHealth .status-item {
        flex-basis: 100%;
        border-left: 1px solid rgba(0,0,0,0.1);
    }

    .vitara-checkHealth .status-item:first-of-type {
        border-top: 1px solid rgba(0,0,0,0.1);
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .vitara-checkHealth .status-item:last-of-type {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

@media screen and (max-width: 450px) {
    .vitara-checkHealth .status-item {
        padding: 1.6rem;
    }
}
.vitara-checkHealth .error-log {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 30px 0;
}

.vitara-checkHealth .error-log button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #007bff; /* Bootstrap blue */
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.vitara-checkHealth .error-log button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.vitara-checkHealth #errorStatus {
    margin-top: 10px;
    color: green;
    font-size: 13px;
}

.vitara-checkHealth .card {
  background-color: white;
  padding: 24px 36px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 20rem;
  max-width: 40rem;
  width: 100%;
  margin-top: 5rem;
}

.vitara-checkHealth .card_item {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.vitara-checkHealth .card_item-title {
  display: inline-block;
  color: #24292e;
  font-size: 1.6rem;
  font-weight: 500;
  margin-right: 10px;
}

.vitara-checkHealth .card_item-value {
  color: #1a73e8;
}
