.wtwwl-panel,
.wtwwl-panel * {
    box-sizing: border-box;
}

.wtwwl-panel {
    width: 100%;
    margin: 30px 0 0 0;
    clear: both;
    font-family: Arial, Helvetica, sans-serif;
}

.wtwwl-panel .wtwwl-panel__inner {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 24px;
}

.wtwwl-panel .wtwwl-panel__header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #005eb8;
}

.wtwwl-panel .wtwwl-panel__title {
    margin: 0 0 8px 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: #005eb8;
}

.wtwwl-panel .wtwwl-panel__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #4c6272;
}

.wtwwl-panel .wtwwl-liveupdates {
    display: block;
    width: 100%;
}

.wtwwl-panel .wtwwl-site-card {
    margin: 0 0 34px 0;
}

.wtwwl-panel .wtwwl-site-card:last-child {
    margin-bottom: 0;
}

.wtwwl-panel .wtwwl-site-card__title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.wtwwl-panel .wtwwl-site-card__updated {
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #1d1d1d;
}

.wtwwl-panel .wtwwl-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.wtwwl-panel .wtwwl-metric-box {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    border: 1px solid #005CB9;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-green {
    border-color: #007f3b;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-green .wtwwl-metric-box__label {
    background: #007f3b;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-amber {
    border-color: #ffb81c;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-amber .wtwwl-metric-box__label {
    background: #ffb81c;
    color: #000;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-red {
    border-color: #d5281b;
}

.wtwwl-panel .wtwwl-metric-box.wtwwl-red .wtwwl-metric-box__label {
    background: #d5281b;
}

.wtwwl-panel .wtwwl-metric-box__label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px; /* fixed height for consistency */
    padding: 18px 16px;
    text-align: center;
    background: #005CB9;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.wtwwl-panel .wtwwl-metric-box__value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 14px 12px;
    text-align: center;
    background: #ffffff;
    color: #1d1d1d;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

@media only screen and (max-width: 1100px) {
    .wtwwl-panel .wtwwl-metrics-grid {
        gap: 20px;
    }

    .wtwwl-panel .wtwwl-site-card__title {
        font-size: 24px;
    }

    .wtwwl-panel .wtwwl-metric-box__label {
        font-size: 19px;
        min-height: 100px;
    }
}

@media only screen and (max-width: 767px) {
    .wtwwl-panel {
        margin-top: 20px;
    }

    .wtwwl-panel .wtwwl-panel__inner {
        padding: 18px;
    }

    .wtwwl-panel .wtwwl-panel__title {
        font-size: 28px;
    }

    .wtwwl-panel .wtwwl-site-card__title {
        font-size: 22px;
    }

    .wtwwl-panel .wtwwl-metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wtwwl-panel .wtwwl-metric-box {
        min-height: 0;
    }

    .wtwwl-panel .wtwwl-metric-box__label {
        min-height: auto;
        font-size: 18px;
        padding: 18px 16px;
    }

    .wtwwl-panel .wtwwl-metric-box__value {
        min-height: auto;
        font-size: 17px;
        padding: 16px 14px;
    }
}


.wtwwl-panel .wtwwl-site-card {
    opacity: 0;
    transform: translateY(10px);
    animation: wtwwlFadeIn 0.5s ease forwards;
}

.wtwwl-panel .wtwwl-site-card:nth-child(1) { animation-delay: 0.05s; }
.wtwwl-panel .wtwwl-site-card:nth-child(2) { animation-delay: 0.1s; }
.wtwwl-panel .wtwwl-site-card:nth-child(3) { animation-delay: 0.15s; }
.wtwwl-panel .wtwwl-site-card:nth-child(4) { animation-delay: 0.2s; }
.wtwwl-panel .wtwwl-site-card:nth-child(5) { animation-delay: 0.25s; }
.wtwwl-panel .wtwwl-site-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes wtwwlFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wtwwl-panel .wtwwl-metric-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wtwwl-panel .wtwwl-metric-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}