/* SLP Support & Compensation public styles */
.slp-support-case-wrap,
.slp-support-list-wrap,
.slp-support-center-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.slp-support-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.slp-support-panel {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px;
}

.slp-support-case-head,
.slp-support-case-card__head,
.slp-support-comp-card__head,
.slp-support-message-head,
.slp-support-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.slp-support-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.slp-support-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
}

.slp-support-chip--status-reported,
.slp-support-chip--status-triage,
.slp-support-chip--status-investigating {
    background: #dbeafe;
    color: #1d4ed8;
}

.slp-support-chip--status-resolved,
.slp-support-chip--status-compensated {
    background: #dcfce7;
    color: #166534;
}

.slp-support-chip--status-closed,
.slp-support-chip--status-on_hold {
    background: #e5e7eb;
    color: #374151;
}

.slp-support-message-list,
.slp-support-case-list,
.slp-support-comp-list {
    display: grid;
    gap: 14px;
}

.slp-support-message-card,
.slp-support-case-card,
.slp-support-comp-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.slp-support-message-card--internal {
    background: #faf5ff;
    border-left: 4px solid #7c3aed;
}

.slp-support-message-card--customer,
.slp-support-message-card--guest {
    border-left: 4px solid #2563eb;
}

.slp-support-message-card--provider {
    border-left: 4px solid #059669;
}

.slp-support-message-card--owner,
.slp-support-message-card--system {
    border-left: 4px solid #7c3aed;
}

.slp-support-message-body,
.slp-support-case-card__body p,
.slp-support-case-summary p {
    line-height: 1.7;
    white-space: pre-wrap;
}

.slp-support-form input[type="text"],
.slp-support-form input[type="number"],
.slp-support-form select,
.slp-support-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.slp-support-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
}

.slp-support-link {
    color: #2563eb;
    text-decoration: none;
}

.slp-support-link:hover {
    text-decoration: underline;
}

.slp-support-notice,
.slp-support-empty {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.slp-support-notice--success {
    background: #dcfce7;
    color: #166534;
}

.slp-support-notice--error {
    background: #fee2e2;
    color: #991b1b;
}

.slp-support-empty {
    background: #f8fafc;
    color: #475569;
}

.slp-support-kv-list {
    display: grid;
    gap: 10px;
}

.slp-support-kv-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed #dbe2ea;
    padding-bottom: 8px;
}

.slp-support-kv-list.compact > div {
    font-size: 13px;
}

.slp-support-sub {
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 900px) {
    .slp-support-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .slp-support-case-head,
    .slp-support-case-card__head,
    .slp-support-comp-card__head,
    .slp-support-message-head,
    .slp-support-list-head,
    .slp-support-kv-list > div {
        flex-direction: column;
        align-items: flex-start;
    }
}
