.elementor-711 .elementor-element.elementor-element-c3158af{--display:flex;--margin-top:50px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}/* Start custom CSS for html, class: .elementor-element-4c64991 */.form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* === ЗАГОЛОВОК === */
.form-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff;
    padding: 40px;
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #fff;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* === СООБЩЕНИЯ === */
.form-message {
    margin: 20px 40px;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

/* === ФОРМА === */
#collective-form {
    padding: 40px;
}

.form-section {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.form-section legend {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0066cc;
    padding: 0 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-help {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* === ПОЛЯ ВВОДА === */
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: #0066cc;
    background: #f0f7ff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

input:read-only {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* === RADIO === */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.radio-label:hover {
    background: #f5f5f5;
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-color: #0066cc;
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}

/* === СПИСОК УЧАСТНИКОВ === */
.participants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.participants-header p {
    color: #666;
    margin: 0;
}

.btn-add-participant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #28a745 0%, #20a039 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.btn-add-participant:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* === КАРТОЧКА УЧАСТНИКА === */
.participant-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.participant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d0d0d0;
}

.participant-header h3 {
    font-size: 1.2rem;
    color: #0066cc;
    margin: 0;
}

.btn-remove-participant {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-participant:hover {
    background: #dc3545;
    color: #ffffff;
}

/* === ИТОГИ === */
.participants-summary {
    text-align: center;
    padding: 20px;
    background: #e6f2ff;
    border-radius: 10px;
    margin-top: 20px;
}

.participants-summary p {
    font-size: 1.1rem;
    color: #0066cc;
    margin: 0;
}

.participants-summary strong {
    font-size: 1.3rem;
}

/* === CHECKBOX === */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-color: #0066cc;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.inline-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.inline-link:hover {
    border-bottom-color: #0066cc;
}

/* === КНОПКА ОТПРАВКИ === */
.form-actions {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* === МОДАЛЬНОЕ ОКНО === */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #0066cc;
}

.modal-content h2 {
    margin: 0 0 20px 0;
    color: #0066cc;
}

.modal-body {
    line-height: 1.8;
    color: #333;
}

.modal-body ul {
    padding-left: 20px;
    margin: 15px 0;
}

.modal-body li {
    margin-bottom: 10px;
}

.btn-accept {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}


/* Стили для модального окна коллективной формы */
.modal-body h3 {
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

.info-box {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для чекбокса с расширенным текстом */
.checkbox-label span {
    line-height: 1.6;
}

.form-help {
    font-size: 0.85em;
    color: #7f8c8d;
    line-height: 1.5;
}


/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {

    .form-container {
        border-radius: 15px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    #collective-form {
        padding: 25px 20px;
    }

    .form-section {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .participants-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-add-participant {
        width: 100%;
        justify-content: center;
    }

    .participant-card {
        padding: 20px 15px;
    }

    .participant-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .btn-remove-participant {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        padding: 30px 20px;
    }
}/* End custom CSS */