/**
 * Risk Check Question - Frontend Styles
 */

/* ===== CSS Variables ===== */
:root {
    --rcq-primary: #3b82f6;
    --rcq-primary-hover: #2563eb;
    --rcq-success: #22c55e;
    --rcq-warning: #eab308;
    --rcq-danger: #ea580c;
    --rcq-text: #1f2937;
    --rcq-text-light: #6b7280;
    --rcq-border: #e5e7eb;
    --rcq-bg: #ffffff;
    --rcq-bg-light: #f9fafb;
    --rcq-radius: 12px;
    --rcq-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rcq-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== Container ===== */
.rcq-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ===== Form Header ===== */
.rcq-form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--rcq-border);
}

.rcq-form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--rcq-text);
    margin: 0 0 12px 0;
}

.rcq-form-description {
    color: var(--rcq-text-light);
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

/* ===== Sections ===== */
.rcq-section {
    background: var(--rcq-bg);
    border: 1px solid var(--rcq-border);
    border-radius: var(--rcq-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--rcq-shadow);
}

.rcq-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rcq-border);
}

.rcq-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--rcq-text);
    margin: 0;
    flex-shrink: 0;
}

.rcq-section-score {
    background: var(--rcq-bg-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rcq-text-light);
}

.rcq-section-hint {
    color: var(--rcq-text-light);
    font-size: 14px;
    margin: 0 0 16px 0;
    font-style: italic;
}

.rcq-optional-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    line-height: 1.5;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

/* ===== Business Info Grid ===== */
.rcq-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.rcq-field label {
    display: block;
    font-weight: 500;
    color: var(--rcq-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.rcq-field input,
.rcq-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--rcq-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.rcq-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--rcq-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.rcq-field-full {
    grid-column: 1 / -1;
}

.rcq-field input:focus,
.rcq-field select:focus,
.rcq-field textarea:focus {
    outline: none;
    border-color: var(--rcq-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ===== Questions ===== */
.rcq-question {
    margin-bottom: 24px;
}

.rcq-question:last-child {
    margin-bottom: 0;
}

/* Error state for required questions */
.rcq-question.rcq-error {
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
    background: rgba(234, 88, 12, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--rcq-danger);
}

.rcq-question.rcq-error .rcq-question-label {
    color: var(--rcq-danger);
}

.rcq-question.rcq-error .rcq-option-label {
    border-color: rgba(234, 88, 12, 0.3);
}

/* Error state for sections (like section D checkboxes) */
.rcq-section.rcq-error {
    border-color: var(--rcq-danger);
    background: rgba(234, 88, 12, 0.03);
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.rcq-section.rcq-error .rcq-section-header h3 {
    color: var(--rcq-danger);
}

.rcq-question-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--rcq-text);
    margin-bottom: 12px;
    line-height: 1.5;
}

.rcq-question-number {
    color: var(--rcq-primary);
    font-weight: 600;
}

.rcq-required {
    color: var(--rcq-danger);
}

.rcq-question-hint {
    font-size: 13px;
    color: var(--rcq-text-light);
    margin: 8px 0 0 0;
    font-style: italic;
}

/* ===== Options (Radio) ===== */
.rcq-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rcq-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.rcq-option input[type="radio"] {
    display: none;
}

.rcq-option-label {
    padding: 10px 20px;
    background: var(--rcq-bg-light);
    border: 2px solid var(--rcq-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rcq-text);
    transition: all 0.2s;
}

.rcq-option input[type="radio"]:checked+.rcq-option-label {
    background: var(--rcq-primary);
    border-color: var(--rcq-primary);
    color: white;
}

.rcq-option:hover .rcq-option-label {
    border-color: var(--rcq-primary);
}

/* ===== Checkboxes ===== */
.rcq-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rcq-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--rcq-bg-light);
    border: 2px solid var(--rcq-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.rcq-checkbox-option:hover {
    border-color: var(--rcq-primary);
}

.rcq-checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rcq-primary);
}

.rcq-checkbox-option input[type="checkbox"]:checked+.rcq-checkbox-label {
    color: var(--rcq-primary);
    font-weight: 500;
}

.rcq-checkbox-label {
    font-size: 14px;
    color: var(--rcq-text);
}

/* ===== Number Input ===== */
.rcq-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 180px;
}

.rcq-input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--rcq-border);
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.rcq-input-wrapper input:focus {
    outline: none;
    border-color: var(--rcq-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.rcq-input-suffix {
    padding: 12px 16px;
    background: var(--rcq-bg-light);
    border: 1px solid var(--rcq-border);
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: var(--rcq-text-light);
    font-size: 14px;
}

/* ===== Total Score ===== */
.rcq-total-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--rcq-radius);
    margin-bottom: 24px;
}

.rcq-total-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--rcq-text);
}

.rcq-total-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--rcq-primary);
}

#rcq-total-score {
    color: inherit;
}

/* ===== Validation Error ===== */
.rcq-validation-error {
    background: #fef2f2;
    border: 1px solid var(--rcq-danger);
    border-left: 4px solid var(--rcq-danger);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #991b1b;
}

.rcq-validation-error strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.rcq-validation-error ul {
    margin: 0;
    padding-left: 20px;
}

.rcq-validation-error li {
    margin-bottom: 4px;
    font-size: 14px;
}

/* ===== Submit Button ===== */
.rcq-submit-wrapper {
    text-align: center;
}

.rcq-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--rcq-primary) 0%, var(--rcq-primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.rcq-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.rcq-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.rcq-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: rcq-spin 0.8s linear infinite;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

@keyframes rcq-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Results ===== */
.rcq-results {
    background: var(--rcq-bg);
    border-radius: var(--rcq-radius);
    box-shadow: var(--rcq-shadow-lg);
    overflow: hidden;
}

.rcq-results-header {
    padding: 32px;
    text-align: center;
    color: white;
}

.rcq-results-header.zone-safe {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.rcq-results-header.zone-warning {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.rcq-results-header.zone-danger {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.rcq-score-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.rcq-zone-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.rcq-results-body {
    padding: 32px;
}

.rcq-analysis-content {
    line-height: 1.8;
    color: var(--rcq-text);
}

.rcq-analysis-content h3,
.rcq-analysis-content h4 {
    color: var(--rcq-text);
    margin: 24px 0 12px 0;
}

.rcq-analysis-content h3:first-child {
    margin-top: 0;
}

.rcq-analysis-content ul,
.rcq-analysis-content ol {
    padding-left: 24px;
    margin: 12px 0;
}

.rcq-analysis-content li {
    margin-bottom: 8px;
}

.rcq-analysis-content strong {
    color: var(--rcq-text);
}

/* ===== Results Actions ===== */
.rcq-results-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 32px;
    background: var(--rcq-bg-light);
    border-top: 1px solid var(--rcq-border);
}

.rcq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.rcq-btn-primary {
    background: var(--rcq-primary);
    color: white;
    border: none;
}

.rcq-btn-primary:hover {
    background: var(--rcq-primary-hover);
}

.rcq-btn-secondary {
    background: white;
    color: var(--rcq-text);
    border: 1px solid var(--rcq-border);
}

.rcq-btn-secondary:hover {
    background: var(--rcq-bg-light);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .rcq-form-container {
        padding: 16px;
    }

    .rcq-form-header h2 {
        font-size: 22px;
    }

    .rcq-section {
        padding: 20px;
    }

    .rcq-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rcq-section-header h3 {
        font-size: 16px;
    }

    .rcq-field-grid {
        grid-template-columns: 1fr;
    }

    .rcq-options {
        flex-direction: column;
    }

    .rcq-option-label {
        width: 100%;
        text-align: center;
    }

    .rcq-total-score {
        flex-direction: column;
        gap: 8px;
    }

    .rcq-submit-btn {
        width: 100%;
        padding: 16px 24px;
    }

    .rcq-results-actions {
        flex-direction: column;
    }

    .rcq-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== CTA Chat Buttons ===== */
/* Common styles for all CTA buttons */
#rcq-chat-button-safe,
#rcq-chat-button-warning,
#rcq-chat-button-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    margin-right: 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* Icon before text */
#rcq-chat-button-safe::before,
#rcq-chat-button-warning::before,
#rcq-chat-button-danger::before {
    content: "💬";
    font-size: 16px;
    animation: rcq-bounce 2s ease-in-out infinite;
}

/* Shine effect overlay */
#rcq-chat-button-safe::after,
#rcq-chat-button-warning::after,
#rcq-chat-button-danger::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.5s ease-in-out;
}

/* Hover shine effect */
#rcq-chat-button-safe:hover::after,
#rcq-chat-button-warning:hover::after,
#rcq-chat-button-danger:hover::after {
    left: 100%;
}

/* ===== Safe Zone Button (Green) ===== */
#rcq-chat-button-safe {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 4px 15px rgba(34, 197, 94, 0.4),
        0 0 20px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: rcq-pulse-safe 2s ease-in-out infinite;
}

#rcq-chat-button-safe:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(34, 197, 94, 0.5),
        0 0 40px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    color: #fff;
}

#rcq-chat-button-safe:active {
    transform: translateY(-1px) scale(0.98);
}

/* ===== Warning Zone Button (Yellow/Gold) ===== */
#rcq-chat-button-warning {
    background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
    color: #422006;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 15px rgba(234, 179, 8, 0.4),
        0 0 20px rgba(234, 179, 8, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: rcq-pulse-warning 2s ease-in-out infinite;
}

#rcq-chat-button-warning:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(234, 179, 8, 0.5),
        0 0 40px rgba(234, 179, 8, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #eab308 100%);
    color: #422006;
}

#rcq-chat-button-warning:active {
    transform: translateY(-1px) scale(0.98);
}

/* ===== Danger Zone Button (Orange/Red) ===== */
#rcq-chat-button-danger {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 4px 15px rgba(234, 88, 12, 0.4),
        0 0 20px rgba(234, 88, 12, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: rcq-pulse-danger 2.5s ease-in-out infinite;
}

#rcq-chat-button-danger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(234, 88, 12, 0.5),
        0 0 40px rgba(234, 88, 12, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
    color: #fff;
}

#rcq-chat-button-danger:active {
    transform: translateY(-1px) scale(0.98);
}

/* ===== Pulse Animations ===== */
@keyframes rcq-pulse-safe {

    0%,
    100% {
        box-shadow:
            0 4px 15px rgba(34, 197, 94, 0.4),
            0 0 20px rgba(34, 197, 94, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow:
            0 4px 20px rgba(34, 197, 94, 0.6),
            0 0 35px rgba(34, 197, 94, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes rcq-pulse-warning {

    0%,
    100% {
        box-shadow:
            0 4px 15px rgba(234, 179, 8, 0.4),
            0 0 20px rgba(234, 179, 8, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 4px 20px rgba(234, 179, 8, 0.6),
            0 0 35px rgba(234, 179, 8, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes rcq-pulse-danger {

    0%,
    100% {
        box-shadow:
            0 4px 15px rgba(234, 88, 12, 0.4),
            0 0 20px rgba(234, 88, 12, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow:
            0 6px 25px rgba(234, 88, 12, 0.7),
            0 0 40px rgba(234, 88, 12, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Icon bounce animation */
@keyframes rcq-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* ===== Responsive CTA Buttons ===== */
@media (max-width: 768px) {

    #rcq-chat-button-safe,
    #rcq-chat-button-warning,
    #rcq-chat-button-danger {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        margin-top: 8px;
        font-size: 14px;
    }
}

/* ===== Reduced Motion for Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    #rcq-chat-button-safe,
    #rcq-chat-button-warning,
    #rcq-chat-button-danger {
        animation: none;
    }

    #rcq-chat-button-safe::before,
    #rcq-chat-button-warning::before,
    #rcq-chat-button-danger::before {
        animation: none;
    }

    #rcq-chat-button-safe:hover,
    #rcq-chat-button-warning:hover,
    #rcq-chat-button-danger:hover {
        transform: none;
    }
}

/* ===== Word Counter ===== */
.rcq-word-counter {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--rcq-text-light);
    margin-top: 4px;
}

.rcq-word-counter.rcq-word-limit {
    color: var(--rcq-danger);
    font-weight: 600;
}

/* ===== Searchable Select ===== */
.rcq-searchable-select {
    position: relative;
    width: 100%;
}

.rcq-ss-trigger {
    display: flex;
    align-items: center;
    position: relative;
}

.rcq-ss-search {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid var(--rcq-border);
    border-radius: 8px;
    font-size: 15px;
    background: var(--rcq-bg);
    color: var(--rcq-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    cursor: pointer;
}

.rcq-ss-search:focus {
    outline: none;
    border-color: var(--rcq-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    cursor: text;
}

.rcq-ss-search.rcq-ss-selected {
    color: var(--rcq-text);
    font-weight: 500;
}

.rcq-ss-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--rcq-text-light);
    pointer-events: none;
    transition: transform 0.2s;
}

.rcq-searchable-select.rcq-ss-open .rcq-ss-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.rcq-ss-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 260px;
    overflow-y: auto;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 2px 0;
    animation: rcq-ss-fadeIn 0.15s ease;
}

.rcq-searchable-select.rcq-ss-open .rcq-ss-dropdown {
    display: block;
}

@keyframes rcq-ss-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rcq-ss-dropdown li {
    padding: 6px 12px;
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.1s, color 0.1s;
}

.rcq-ss-dropdown li:hover,
.rcq-ss-dropdown li.rcq-ss-highlighted {
    background: #1a73e8;
    color: #fff;
}

.rcq-ss-dropdown li.rcq-ss-active {
    background: var(--rcq-primary);
    color: white;
    font-weight: 500;
}

.rcq-ss-dropdown li.rcq-ss-hidden {
    display: none;
}

.rcq-ss-no-results {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--rcq-text-light);
    text-align: center;
    font-style: italic;
}

/* Responsive: adjust dropdown on mobile */
@media (max-width: 768px) {
    .rcq-ss-dropdown {
        max-height: 200px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .rcq-form-container {
        max-width: 100%;
    }

    .rcq-submit-wrapper,
    .rcq-results-actions {
        display: none;
    }

    #rcq-chat-button-safe,
    #rcq-chat-button-warning,
    #rcq-chat-button-danger {
        display: none;
    }
}