.spd-wrap {
    margin: 24px 0;
}

.spd-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(13, 32, 54, 0.06);
}

.spd-header h2 {
    margin: 0 0 10px;
    color: #0c223a;
    font-size: 30px;
    line-height: 1.2;
}

.spd-header p {
    margin: 0 0 10px;
    color: #3f556d;
    line-height: 1.6;
}

.spd-alert {
    margin: 14px 0 18px;
    border: 1px solid #f0d096;
    background: #fff8e8;
    color: #8a5100;
    border-radius: 10px;
    padding: 12px 14px;
}

.spd-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.spd-service-card {
    border: 1px solid #d8e4f0;
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(160deg, #f7fbff 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    min-height: 190px;
}

.spd-service-disabled {
    opacity: 0.82;
}

.spd-service-icon {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #0a6db5;
    margin-bottom: 10px;
}

.spd-service-image {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-bottom: 10px;
}

.spd-service-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    color: #0d2c49;
}

.spd-btn,
.spd-badge {
    margin-top: auto;
}

.spd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    background: #0a6db5;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid #0a6db5;
}

.spd-btn:hover,
.spd-btn:focus {
    background: #095f9d;
    color: #ffffff;
}

.spd-btn-light {
    background: #ffffff;
    color: #0a6db5;
    border-color: #9bc5e8;
}

.spd-btn-light:hover,
.spd-btn-light:focus {
    background: #eef6fd;
    color: #0a6db5;
}

.spd-badge {
    display: inline-block;
    background: #eef2f7;
    color: #4b5e73;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}

.spd-footer-actions {
    margin-top: 18px;
}

.spd-kpis {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.spd-kpi {
    border: 1px solid #d7e4f2;
    border-radius: 12px;
    padding: 14px;
    background: #f8fbff;
}

.spd-kpi-label {
    display: block;
    font-size: 13px;
    color: #4e6278;
    margin-bottom: 6px;
}

.spd-kpi-value {
    font-size: 24px;
    line-height: 1;
    color: #0a6db5;
}

.spd-analysis-box {
    margin-top: 18px;
    border: 1px solid #cce0f4;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff7ff 0%, #f8fbff 100%);
    padding: 16px;
}

.spd-analysis-box h3 {
    margin: 0 0 6px;
    color: #0e3355;
}

.spd-analysis-box p {
    margin: 0;
    color: #2b4966;
    line-height: 1.55;
}

.spd-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
}

.spd-panel {
    border: 1px solid #dce8f4;
    border-radius: 12px;
    padding: 14px;
    background: #ffffff;
}

.spd-panel h3 {
    margin: 0 0 12px;
    color: #163657;
}

.spd-bars {
    display: grid;
    gap: 10px;
}

.spd-bar-row {
    display: grid;
    grid-template-columns: 180px 1fr 170px;
    gap: 10px;
    align-items: center;
}

.spd-bar-label {
    color: #2d4965;
    font-size: 14px;
}

.spd-bar-track {
    background: #e6eef7;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.spd-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0a6db5 0%, #35a2d8 100%);
}

.spd-bar-value {
    color: #34516d;
    font-size: 13px;
    text-align: right;
}

.spd-bar-value small {
    display: block;
    font-size: 11px;
    color: #6a8096;
}

.spd-month-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    min-height: 190px;
}

.spd-month-col {
    flex: 1;
    min-width: 54px;
    text-align: center;
}

.spd-month-track {
    height: 130px;
    border-radius: 12px;
    border: 1px solid #d9e8f5;
    background: #f3f8fd;
    display: flex;
    align-items: flex-end;
    padding: 6px;
}

.spd-month-fill {
    width: 100%;
    background: linear-gradient(180deg, #35a2d8 0%, #0a6db5 100%);
    border-radius: 8px;
    min-height: 3px;
}

.spd-month-total {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #1b3958;
}

.spd-month-label {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #647f99;
}

.spd-empty {
    padding: 12px;
    border-radius: 10px;
    background: #f6f9fc;
    color: #566f87;
}

.spd-admin-head-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 14px;
}

.spd-admin-grid {
    display: block;
}

.spd-admin-grid .spd-admin-box + .spd-admin-box {
    margin-top: 16px;
}

.spd-admin-box {
    border: 1px solid #d8e3ef;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
}

.spd-admin-box h2 {
    margin-top: 0;
}

.spd-admin-table .dashicons {
    color: #0a6db5;
}

.spd-muted {
    color: #5f7488;
    font-style: italic;
}

@media (max-width: 980px) {
    .spd-grid {
        grid-template-columns: 1fr;
    }

    .spd-bar-row {
        grid-template-columns: 1fr;
    }

    .spd-bar-value {
        text-align: left;
    }
}
@media (max-width: 640px) {
    .spd-card {
        padding: 16px;
    }

    .spd-header h2 {
        font-size: 25px;
    }
}
.spd-admin-icon-thumb {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #d5e3f1;
    background: #fff;
}

.spd-image-field-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.spd-image-preview {
    margin-top: 8px;
    min-height: 40px;
}

.spd-image-preview img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 1px solid #d5e3f1;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}



