:root {
    --stayq-purple-start: #6a4cf5;
    --stayq-purple-end: #8a3fd6;
    --stayq-purple: #5b3fd6;
}

body {
    background-color: #f4f5f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.stayq-header {
    background: linear-gradient(135deg, var(--stayq-purple-start), var(--stayq-purple-end));
}

.stayq-card {
    max-width: 760px;
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(90, 60, 200, 0.12);
    margin-top: -40px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.btn-stayq {
    background: linear-gradient(135deg, var(--stayq-purple-start), var(--stayq-purple-end));
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
}
.btn-stayq:hover {
    color: #fff;
    opacity: 0.92;
}

.bg-stayq {
    background: linear-gradient(135deg, var(--stayq-purple-start), var(--stayq-purple-end)) !important;
}

.text-primary-emphasis {
    color: var(--stayq-purple) !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.progress-wrap {
    max-width: 760px;
}

.likert-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.likert-option {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    transition: all 0.15s ease-in-out;
}

.likert-option span {
    white-space: normal;
    line-height: 1.15;
}

@media (max-width: 576px) {
    .likert-row {
        flex-wrap: wrap;
    }
    .likert-option {
        flex: 1 1 calc(33.333% - 8px);
        font-size: 0.75rem;
    }
}

.likert-option:hover {
    border-color: var(--stayq-purple);
}

.likert-option input[type="radio"] {
    accent-color: var(--stayq-purple);
}

.likert-option:has(input:checked) {
    border-color: var(--stayq-purple);
    background-color: rgba(91, 63, 214, 0.08);
    font-weight: 600;
}

/* Admin styling */
.admin-sidebar {
    min-height: 100vh;
    background: #1f1147;
    color: #fff;
}
.admin-sidebar a {
    color: #d9d3f5;
    text-decoration: none;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: #fff;
    font-weight: 600;
}
.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.badge-valid { background-color: #1fa163; }
.badge-review { background-color: #d9534f; }
.badge-warning { background-color: #d97706; color: #fff; }
.badge-invalid { background-color: #d9534f; }
.subdomain-table th, .subdomain-table td { font-size: 0.85rem; }
.btn-download-report {
    background-color: #059669;
    border-color: #059669;
    color: #fff;
}
.btn-download-report:hover {
    background-color: #047857;
    border-color: #047857;
    color: #fff;
}
