/* Feedback Widget Styles - Werkmeister Design */

#feedback-widget-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

#feedback-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.6);
}

#feedback-widget-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

#feedback-widget-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

#feedback-widget-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feedback-modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
	position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-modal-header {
    background: linear-gradient(to bottom, #d4d4d4 0%, #e8e8e8 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.feedback-modal-header h2 {
    font-size: 24px;
    font-weight: 400;
    color: #444;
    margin: 0 0 5px;
    letter-spacing: 0.5px;
}

.feedback-modal-header p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.feedback-modal-close:hover {
    color: #333;
}

.feedback-modal-body {
    padding: 30px;
}

.feedback-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feedback-type-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.feedback-type-btn:hover {
    border-color: #4a90e2;
}

.feedback-type-btn.active {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.feedback-type-btn .icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.feedback-type-btn .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.feedback-type-btn.active .label {
    color: #4a90e2;
}

.feedback-form-group {
    margin-bottom: 20px;
}

.feedback-form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.feedback-form-group input,
.feedback-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.feedback-form-group input:focus,
.feedback-form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.feedback-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-form-group small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.feedback-submit-btn {
    width: fit-content;
    padding: 14px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
	margin-left: auto;
    display: block;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-message {
    padding: 12px;
    border-radius: 3px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.feedback-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    #feedback-widget-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .feedback-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .feedback-modal-header,
    .feedback-modal-body {
        padding: 20px;
    }
    
    .feedback-type-selector {
        flex-direction: column;
        gap: 10px;
    }
}
