.selection-tooltip {
    position: absolute;
    display: none;
    z-index: 1000;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.selection-tooltip button {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.selection-tooltip button:hover {
    background-color: var(--color-accent-hover);
}

.suggestions-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: var(--color-bg-card);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-primary);
}

.suggestions-sidebar.active {
    right: 0;
}

.suggestions-header {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestions-header h3 {
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 24px;
    cursor: pointer;
}

.suggestions-content, .premium-feature-content {
    padding: 15px;
    flex: 0 0 auto;
}

.selected-text {
    background-color: var(--color-accent-subtle);
    padding: 10px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-style: italic;
    max-height: 100px;
    overflow-y: auto;
}

.suggestion-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suggestion-option {
    background-color: var(--color-bg-input);
    border: none;
    color: var(--color-text-primary);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: background-color var(--transition-fast);
}

.suggestion-option:hover {
    background-color: var(--color-bg-input-focus);
}

.suggestion-option.active {
    background-color: var(--color-accent-subtle);
}

.suggestion-option.active:hover {
    cursor: not-allowed;
}

.suggestion-response {
    padding: 15px;
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
    justify-content: center;
}
