/* Кружочек обратной связи в правом нижнем углу */
#error-report-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #2385e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(35, 133, 229, 0.3);
    transition: all 0.3s ease;
    z-index: 9998;
}

#error-report-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(35, 133, 229, 0.4);
}

#error-report-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Pop-up модальное окно */
#error-report-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#error-report-popup.show {
    display: flex;
    opacity: 1;
}

.error-report-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#error-report-popup.show .error-report-modal {
    transform: scale(1);
}

.error-report-modal h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.error-report-modal p {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.error-report-instructions {
    margin-bottom: 24px;
}

.error-report-instructions p {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.error-report-instructions p:last-child {
    margin-bottom: 0;
}

.error-report-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f5f7fa;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: #e8ecf2;
    transform: translateX(4px);
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.telegram {
    background: #2AABEE;
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.error-report-close {
    width: 100%;
    padding: 12px;
    background: #f5f7fa;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-report-close:hover {
    background: #e8ecf2;
    color: #1a1a1a;
}

/* Адаптивность */
@media (max-width: 768px) {
    #error-report-btn {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    
    #error-report-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .error-report-modal {
        padding: 24px;
        max-width: 100%;
    }
    
    .error-report-modal h3 {
        font-size: 20px;
    }
}

