/* Dash Personality Styles - v5.0 */

/* Personality response wrapper */
.dash-personality-response {
    padding: 10px 0;
}

.dash-opener {
    font-weight: 600;
    color: #0a3d5f;
    margin-bottom: 12px;
    font-size: 15px;
}

.dash-helper {
    margin-top: 16px;
    padding: 12px;
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    font-size: 14px;
    color: #1e40af;
}

/* Law redirect box */
.dash-law-redirect {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.dash-law-redirect h3 {
    color: #1e40af;
    margin: 0 0 12px 0;
    font-size: 18px;
}

.dash-law-redirect p {
    margin: 10px 0;
    color: #334155;
}

.dash-law-cta {
    display: inline-block;
    background: #3b82f6;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 16px 0;
    transition: background 0.2s;
}

.dash-law-cta:hover {
    background: #2563eb;
    text-decoration: none;
}

/* Upsell box */
.dash-upsell-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.dash-upsell-box h4 {
    color: #92400e;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.dash-upsell-box p {
    margin: 8px 0;
    color: #451a03;
}

.dash-upsell-cta {
    display: inline-block;
    background: #f59e0b;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    transition: background 0.2s;
}

.dash-upsell-cta:hover {
    background: #d97706;
    text-decoration: none;
}

/* No results message */
.dash-no-results {
    padding: 20px;
}

.dash-no-results p {
    margin: 10px 0;
    color: #475569;
}

.dash-no-results ul {
    margin: 12px 0;
    padding-left: 20px;
}

.dash-no-results li {
    margin: 6px 0;
    color: #64748b;
}

.dash-popular-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dash-suggestion-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-suggestion-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

/* Greeting header */
.dash-greeting {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #166534;
    font-weight: 500;
}

/* Success message */
.dash-success-message {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
    border-radius: 4px;
    margin: 16px 0;
    color: #166534;
    font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dash-law-redirect,
    .dash-upsell-box {
        padding: 16px;
    }
    
    .dash-law-cta,
    .dash-upsell-cta {
        display: block;
        text-align: center;
    }
    
    .dash-popular-suggestions {
        flex-direction: column;
    }
    
    .dash-suggestion-btn {
        width: 100%;
    }
}
