/* Feedback Form Additional Styles */

/* Active state for satisfaction buttons */
.satisfaction-button.active {
    transform: scale(1.2);
    border-color: #0ea5e9;
    background-color: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.satisfaction-button.negative.active {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.satisfaction-button.neutral.active {
    border-color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.satisfaction-button.positive.active {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Animation for feedback wrapper */
.feedback-wrapper.show {
    animation: slideIn 0.3s ease-out;
}

.feedback-wrapper.hide {
    animation: slideOut 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading state for submit button */
.feedback-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Error state for form */
.feedback-error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
}

/* Success animation */
.feedback-success-icon {
    animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Feedback Type Buttons */
.feedback-type-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.feedback-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 100px;
}

.feedback-type-btn:hover {
    border-color: #0ea5e9;
    background-color: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-type-btn.active {
    border-color: #0ea5e9;
    background-color: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.feedback-type-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.feedback-type-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

.feedback-type-btn.active .feedback-type-label {
    color: #0ea5e9;
    font-weight: 600;
}

/* Character Counter */
.feedback-char-counter {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    margin-bottom: 16px;
}

.feedback-char-counter.warning {
    color: #f59e0b;
}

.feedback-char-counter.danger {
    color: #ef4444;
}