/* Виджет поддержки проекта через СБП */
.support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.support-widget-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.support-widget-icon {
    font-size: 16px;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.support-widget-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.4;
}



.support-widget-phone {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

/* Модальное окно для поддержки */
.support-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.support-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.support-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.support-modal-close:hover {
    color: white;
}

.support-modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.support-modal-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.support-qr-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: inline-block;
}

.support-phone-display {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.support-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.support-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.support-btn:active {
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .support-widget {
        bottom: 10px;
        right: 10px;
        min-width: 160px;
        padding: 10px 12px;
    }
    
    .support-modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
    }
    
    .support-modal-title {
        font-size: 20px;
    }
    
    .support-phone-display {
        font-size: 18px;
        padding: 10px 15px;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-modal-content {
    animation: fadeInUp 0.4s ease-out;
}

/* Уведомление о копировании */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-notification.show {
    opacity: 1;
}