/* Modal pro zpětnou vazbu k variantě */
.variant-feedback-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999 !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.variant-feedback-modal.active {
    display: flex !important;
}

.variant-feedback-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.variant-feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.variant-feedback-modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.variant-feedback-modal-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.variant-info {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ecf1;
}

.variant-info strong {
    color: #ff6b35;
}

/* Feedback komentáře styly */
.feedback-section {
    position: relative;
}

.feedback-trigger {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: rgba(255, 107, 53, 0.1);
    border: 1px dashed #ff6b35;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    color: #ff6b35;
    cursor: pointer;
    z-index: 1000;
    font-weight: 600;
    pointer-events: auto;
}

.feedback-section:hover .feedback-trigger {
    opacity: 1;
}

.feedback-trigger:hover {
    background: rgba(255, 107, 53, 0.2);
}

.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

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

.feedback-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.feedback-modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.feedback-modal h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feedback-modal .section-info {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ecf1;
}

.feedback-modal .section-info strong {
    color: #ff6b35;
}

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

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

.feedback-form-group input,
.feedback-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease;
}

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

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

.feedback-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
}

.feedback-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.feedback-btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: white;
}

.feedback-btn-primary:hover {
    background: linear-gradient(135deg, #e55a2a 0%, #ff6b35 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.feedback-btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e8ecf1;
}

.feedback-btn-secondary:hover {
    background: white;
    border-color: #ff6b35;
    color: #ff6b35;
}

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

.feedback-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.feedback-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Formulář s otázkami na index.html */
.questions-form-container {
    background: #f8f9fa;
    border-left: 4px solid #ff6b35;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.question-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf1;
}

.question-item:last-of-type {
    border-bottom: none;
}

.question-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.5;
}

.question-answer {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    min-height: 80px;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.question-answer:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .feedback-trigger {
        opacity: 1;
        position: relative;
        top: auto;
        right: auto;
        margin-top: 10px;
        display: inline-block;
    }
    
    .questions-form-container {
        padding: 20px;
    }
    
    .question-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}
