body {
    background: #f5f7fb;
    color: #212529;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-label {
    color: #6c757d;
    font-size: 14px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.card {
    border-radius: 14px;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-size: 13px;
    text-transform: uppercase;
    color: #6c757d;
    white-space: nowrap;
}

.table td {
    white-space: nowrap;
}

.domain-name {
    font-weight: 600;
}

.domain-sans {
    font-size: 12px;
    color: #6c757d;
    margin-top: 3px;
}

.remaining {
    font-weight: 700;
}

.remaining-danger {
    color: #dc3545;
}

.remaining-warning {
    color: #fd7e14;
}

.remaining-notice {
    color: #ffc107;
}

.remaining-ok {
    color: #198754;
}

.status-badge {
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-ok {
    background: #d1e7dd;
    color: #0f5132;
}

.status-notice {
    background: #fff3cd;
    color: #664d03;
}

.status-warning {
    background: #ffe5d0;
    color: #984c0c;
}

.status-danger,
.status-expired {
    background: #f8d7da;
    color: #842029;
}

.expired-row {
    background: rgba(220,53,69,.06);
}

.danger-row {
    background: rgba(220,53,69,.025);
}

.warning-row {
    background: rgba(253,126,20,.025);
}

.error-box {
    padding: 30px;
    text-align: center;
    color: #dc3545;
}
