/* Feedback System Styles */

.feedback-container {
    max-width: 600px;
    margin: 0 auto;
}

.smiley-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.smiley-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    text-decoration: none;
    color: inherit;
}

.smiley-btn:hover {
    border-color: #058889;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 136, 137, 0.15);
}

.smiley-btn.selected {
    border-color: #058889;
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(5, 136, 137, 0.2);
}

.smiley {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.smiley-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #495057;
}

.comment-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.comment-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.comment-section .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.comment-section .form-control:focus {
    border-color: #058889;
    box-shadow: 0 0 0 0.2rem rgba(5, 136, 137, 0.25);
}

.feedback-thanks {
    text-align: center;
    padding: 30px;
}

.feedback-thanks .alert {
    border: none;
    border-radius: 12px;
    padding: 25px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.feedback-thanks .alert i {
    color: #28a745;
    font-size: 1.2rem;
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .smiley-container {
        gap: 10px;
    }
    
    .smiley-btn {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .smiley {
        font-size: 2rem;
    }
    
    .smiley-label {
        font-size: 0.8rem;
    }
    
    .comment-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .smiley-container {
        flex-direction: column;
        align-items: center;
    }
    
    .smiley-btn {
        width: 100%;
        max-width: 200px;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .smiley {
        margin-bottom: 0;
    }
}

/* Floating Feedback Button */
.floating-feedback-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #058889 0%, #0ba9aa 100%);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(5, 136, 137, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    min-width: 140px;
    height: auto;
}

.floating-feedback-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(5, 136, 137, 0.4);
    color: white;
    text-decoration: none;
}

.floating-feedback-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.feedback-icon {
    font-size: 16px;
    display: inline-block;
}

/* Feedback Modal */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.feedback-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-modal-content {
    background: white;
    margin: 20px;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feedback-modal-header {
    background: linear-gradient(135deg, #058889 0%, #0ba9aa 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.feedback-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.feedback-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.feedback-modal-body {
    padding: 25px;
}

/* Modal-spezifische Anpassungen */
.feedback-modal .feedback-container {
    max-width: none;
}

.feedback-modal .smiley-container {
    margin-bottom: 25px;
}

.feedback-modal .comment-section {
    margin-top: 15px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .floating-feedback-btn {
        right: 15px;
        bottom: 15px;
        padding: 10px 16px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .feedback-modal-content {
        margin: 10px;
        width: 95%;
    }
    
    .feedback-modal-header {
        padding: 15px 20px;
    }
    
    .feedback-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .feedback-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .floating-feedback-btn {
        right: 10px;
        bottom: 10px;
        padding: 8px 12px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .feedback-modal-content {
        margin: 5px;
        width: 98%;
        max-height: 95vh;
    }
    
    .feedback-modal-header {
        padding: 12px 15px;
    }
    
    .feedback-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .feedback-modal-body {
        padding: 15px;
    }
} 