/* ============================================
   TOPIC SUGGESTIONS STYLES
   Стили для topic suggestions в чате
   ============================================ */

/* Desktop chat - основные стили для topics */
.topics-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.topic-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
}

.topic-section-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-suggestions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: 16px;
}

.topic-suggestions:last-child {
    margin-bottom: 0;
}

.topic-suggestions-text {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-suggestions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    width: 100%;
}

.topic-suggestion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: var(--radius-xl);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    contain: layout style paint;
}

.topic-suggestion-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Light theme для topic suggestion button */
body.light-theme .topic-suggestion-btn {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.8);
}

body.light-theme .topic-suggestion-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .topic-suggestion-btn:active {
    background: rgba(148, 163, 184, 0.35);
    color: rgba(15, 23, 42, 1);
}

.calculator-buttons-text {
    text-align: left !important;
    width: 100%;
}

/* Mobile styles для topic suggestion buttons */
@media (max-width: 768px) {
    .topic-suggestions {
        gap: 6px;
        margin-top: 10px;
        padding: 0;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        text-align: left;
    }
    
    .topic-suggestions-text,
    .calculator-buttons-text {
        font-size: 14px;
    }
    
    .topic-suggestion-btn {
        padding: 6px 12px;
        font-size: 16px;
        border-radius: 16px;
        text-align: left;
        justify-content: flex-start;
    }
}
