/* Selection Tooltip Styles */
.selection-tooltip {
    position: absolute;
    display: none;
    z-index: 1000;
    background-color: orange;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    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: rgba(255, 87, 87, 0.8); /* Lighter shade of salmon */
}

/* Suggestions Sidebar Styles */
.suggestions-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: rgba(86, 11, 148, 0.95); /* Match the salmon color */
    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: white;
}

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

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

.suggestions-header h3 {
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

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

.selected-text {
    background-color: rgba(255, 0, 0, 0.1);;
    padding: 10px;
    border-radius: 8px;
    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: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.suggestion-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.suggestion-option.active {
    background-color: rgba(255, 255, 255, 0.4);
}

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

.suggestion-response {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    justify-content: center;
}
