/* Feedback Widget Styles */
:root {
    --feedback-primary: #4f46e5;
    /* Indigo 600 */
    --feedback-secondary: #4338ca;
    /* Indigo 700 */
    --feedback-bg: rgba(255, 255, 255, 0.95);
    --feedback-text: #1f2937;
    --feedback-border: rgba(0, 0, 0, 0.1);
    --feedback-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Dark mode support if applicable, though we'll stick to a clean light/neutral look for the widget to stand out or blend safely */

.laniakea-feedback-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--feedback-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.laniakea-feedback-trigger:hover {
    transform: scale(1.1);
    background: var(--feedback-secondary);
}

.laniakea-feedback-trigger i {
    font-size: 24px;
}

.laniakea-feedback-modal {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: var(--feedback-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--feedback-shadow);
    border: 1px solid var(--feedback-border);
    z-index: 9999;
    padding: 20px;
    display: none;
    /* Hidden by default */
    font-family: 'Inter', sans-serif;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.laniakea-feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.laniakea-feedback-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--feedback-text);
    font-weight: 600;
}

.laniakea-close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
}

.laniakea-close-btn:hover {
    color: var(--feedback-text);
}

.laniakea-feedback-section {
    margin-bottom: 15px;
}

.laniakea-feedback-label {
    display: block;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 8px;
    font-weight: 500;
}

.laniakea-rating-group {
    display: flex;
    gap: 10px;
}

.laniakea-rating-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--feedback-border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #4b5563;
}

.laniakea-rating-btn:hover,
.laniakea-rating-btn.active {
    border-color: var(--feedback-primary);
    color: var(--feedback-primary);
    background: #eef2ff;
}

.laniakea-feedback-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--feedback-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.laniakea-feedback-input:focus {
    outline: none;
    border-color: var(--feedback-primary);
    ring: 2px solid rgba(79, 70, 229, 0.2);
}

.laniakea-radio-group {
    display: flex;
    gap: 15px;
}

.laniakea-radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.laniakea-submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--feedback-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.laniakea-submit-btn:hover {
    background: var(--feedback-secondary);
}