/* Feedback Button & Popup Styles */

/* Feedback Modal */
.feedback-modal {
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 40, 0.98));
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    color: #fff;
}

.feedback-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.feedback-close:hover {
    color: #fff;
}

/* Milestone Badge */
.feedback-badge {
    text-align: center;
    margin-bottom: 20px;
}

.badge-emoji {
    font-size: 48px;
    display: block;
}

.feedback-badge h3 {
    margin: 8px 0 4px;
    font-size: 20px;
    font-weight: 600;
}

.feedback-badge p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.feedback-modal h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 600;
}

/* Star Rating */
.feedback-rating {
    text-align: center;
    margin-bottom: 24px;
}

.feedback-rating p {
    color: #aaa;
    margin-bottom: 12px;
    font-size: 14px;
}

.star-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 32px;
    transition: transform 0.2s;
    padding: 4px;
}

.star:hover {
    transform: scale(1.2);
}

/* Form Fields */
.feedback-field {
    margin-bottom: 20px;
}

.feedback-field label {
    color: #aaa;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.feedback-field select,
.feedback-field textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.feedback-field select:focus,
.feedback-field textarea:focus {
    border-color: rgba(102, 126, 234, 0.5);
}

.feedback-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.feedback-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.feedback-submit:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
}

.feedback-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Snooze Options */
.feedback-snooze {
    display: flex;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.feedback-snooze button {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

.feedback-snooze button:last-child {
    color: #666;
    text-decoration: none;
}

.feedback-snooze button:hover {
    color: #fff;
}

/* Toast Notification */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.feedback-toast {
    animation: slideIn 0.3s ease;
}