.openstatus {
    box-sizing: border-box;
    font-family: inherit;
}

.openstatus-card {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 18px;
    max-width: 440px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.openstatus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    font-size: 14px;
}

.openstatus-header {
    display: flex;
    align-items: center;
    gap: 10px;
}


.openstatus-badge .openstatus-header {
    flex-wrap: wrap;
}

.openstatus-label {
    font-size: 18px;
    line-height: 1.2;
}

.openstatus-badge .openstatus-label {
    font-size: 14px;
}

.openstatus-indicator {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #757575;
    flex: 0 0 12px;
}

.openstatus-status-open .openstatus-indicator,
.openstatus-status-force_open .openstatus-indicator {
    background: #16833a;
}

.openstatus-status-closing_soon .openstatus-indicator,
.openstatus-status-opening_soon .openstatus-indicator,
.openstatus-status-appointment_only .openstatus-indicator {
    background: #d89000;
}

.openstatus-status-closed .openstatus-indicator,
.openstatus-status-force_closed .openstatus-indicator,
.openstatus-status-emergency_only .openstatus-indicator {
    background: #c5221f;
}

.openstatus-message,
.openstatus-detail {
    margin: 10px 0 0;
}

.openstatus-detail {
    color: #4b5563;
}

.openstatus-badge-detail {
    color: #4b5563;
}

.openstatus-cta-wrap {
    margin: 16px 0 0;
}

.openstatus-cta {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    padding: 9px 14px;
    border: 1px solid currentColor;
    font-weight: 600;
}

.openstatus-weekly-hours {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}

.openstatus-weekly-hours th,
.openstatus-weekly-hours td {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 8px 0;
    text-align: left;
}

.openstatus-weekly-hours td {
    text-align: right;
}

.openstatus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.openstatus-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    padding: 6px 10px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    color: inherit;
    background: rgba(0,0,0,0.02);
    white-space: nowrap;
}

.openstatus-pill:hover,
.openstatus-pill:focus {
    text-decoration: none;
    background: rgba(0,0,0,0.05);
}

.openstatus-pill-label {
    font-weight: 600;
}

.openstatus-pill-number {
    font-weight: 500;
}

.openstatus-pill-label + .openstatus-pill-number::before {
    content: "·";
    margin-right: 6px;
    color: #6b7280;
}

.openstatus-badge .openstatus-pills {
    margin-top: 0;
    margin-left: 2px;
    gap: 6px;
}

.openstatus-badge .openstatus-pill {
    padding: 5px 9px;
    font-size: 13px;
}

@media (max-width: 480px) {
    .openstatus-badge {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .openstatus-badge .openstatus-pills {
        width: 100%;
        margin-left: 0;
    }

    .openstatus-pill-number,
    .openstatus-pill-label + .openstatus-pill-number::before {
        display: none;
    }
}

.openstatus-badge-message {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.2;
}
