/* Feedback Modal Styles */
.feedback-modal {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.feedback-modal.show {
    display: block;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

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

.feedback-content {
    padding: 20px;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.feedback-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.feedback-logo {
    font-weight: bold;
    color: #86c440;
    font-size: 16px;
}

.close-feedback {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star-rating i {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: #ffc107;
}

.star-rating i.fas {
    color: #ffc107;
}

/* Feedback Question Styles */
.feedback-question {
    margin-bottom: 25px;
}

.feedback-question label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.feedback-question textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.feedback-question textarea:focus {
    outline: none;
    border-color: #86c440;
    box-shadow: 0 0 0 2px rgba(134, 196, 64, 0.2);
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Submit Button */
.submit-feedback {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.submit-feedback:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.submit-feedback:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-feedback.loading {
    background-color: #6c757d;
    cursor: not-allowed;
}

.submit-feedback.success {
    background-color: #28a745;
    border-color: #28a745;
}

.submit-feedback.error {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Legacy Smiley Styles (for general feedback) */
.smiley-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

.smiley {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.smiley:hover {
    background: #f8f9fa;
}

.smiley.active {
    background: #e9ecef;
}

.smiley i {
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
}

.smiley.active i {
    color: #86c440;
}

.smiley span {
    display: block;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

/* Legacy Checkbox Styles */
.feedback-checkboxes {
    margin-bottom: 15px;
}

.checkbox-item {
    margin-bottom: 10px;
}

.checkbox-item label {
    margin-left: 8px;
    color: #666;
}

/* Footer Feedback Link */
.footer-feedback-link {
    color: #86c440;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-feedback-link:hover {
    color: #6ba32e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-modal {
        width: 90%;
        right: 5%;
        left: 5%;
        bottom: 10px;
    }
    
    .feedback-content {
        padding: 15px;
    }
    
    .star-rating i {
        font-size: 20px;
    }
    
    .smiley {
        width: 60px;
        height: 60px;
    }
    
    .smiley i {
        font-size: 20px;
    }
} 