
/* Основные стили для кнопки "Сохранить" */
.send_button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 150px !important;
    justify-content: center !important;
}

/* Иконка для кнопки */
.send_button::before {
    content: '\f0c7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
}

/* Эффект при наведении */
.send_button:hover {
    animation: hoverPulse 1s infinite !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4) !important;
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%) !important;
    color: white !important;
    text-decoration: none !important;
}

@keyframes hoverPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Эффект при нажатии - останавливаем анимацию и уменьшаем */
.send_button:active {
    animation: none !important;
    transform: scale(0.98) !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5) !important;
}

/* Эффект при фокусе */
.send_button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3), 0 4px 15px rgba(0, 123, 255, 0.3) !important;
}

/* Анимация загрузки */
.send_button.loading {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    /* Убираем любые блокировки */
    opacity: 1 !important;
    transform: none !important;
}

.send_button.loading::before {
    content: '\f110';
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Эффект пульсации для привлечения внимания */
.send_button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
}

/* Стили для кнопок в форме */
form .send_button {
    margin: 20px 0 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .send_button {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        min-width: 120px !important;
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .send_button::before {
        font-size: 0.9rem !important;
    }
}

/* Стили для кнопок в модальных окнах */
.modal .send_button {
    margin: 15px 0 !important;
}

/* Стили для кнопок в карточках */
.card .send_button {
    margin: 15px 0 !important;
}

/* Эффект успешного сохранения */
.send_button.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Стили для кнопок в разных секциях */
.section-form .send_button {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

/* Дополнительные стили для кнопок в таблицах */
.table-responsive .send_button {
    margin: 10px 0 !important;
}

/* Стили для кнопок в боковых панелях */
.sidebar .send_button {
    width: 100% !important;
    margin: 10px 0 !important;
}

/* Эффект при отключенном состоянии - убираем, так как кнопка не блокируется */

/* Стили для кнопок в темной теме (если используется) */
.dark-theme .send_button {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%) !important;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4) !important;
}

.dark-theme .send_button:hover {
    background: linear-gradient(135deg, #004085 0%, #002752 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.5) !important;
}

/* Стили для ссылок на инструкцию в section_1 */
.instruction-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.instruction-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.instruction-links .btn-download {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.instruction-links .btn-download:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.instruction-links .btn-view {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.instruction-links .btn-view:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.instruction-links .file-size {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Адаптивность для ссылок на инструкцию */
@media (max-width: 768px) {
    .instruction-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .instruction-links .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Стили для заголовка услуг самозанятых */
.services-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0 15px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    animation: iconPulse 2s infinite;
}

.services-icon i {
    color: white;
    font-size: 1.2rem;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.services-title {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Улучшенные стили для радио-опций */
.radio-options {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.radio-item {
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.radio-item:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(5px);
}

.radio-item.sphere-option {
    border-left: 3px solid #28a745;
    background: rgba(40, 167, 69, 0.02);
}

.radio-item.sphere-option:hover {
    background: rgba(40, 167, 69, 0.08);
    border-left-color: #20c997;
}

/* Адаптивность для заголовка услуг */
@media (max-width: 768px) {
    .services-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .services-icon {
        width: 40px;
        height: 40px;
    }
    
    .services-icon i {
        font-size: 1rem;
    }
    
    .services-title {
        font-size: 1rem;
    }
} 