.elementor-706 .elementor-element.elementor-element-7b49310{--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-51c8d5f */.form-container {
    max-width: 900px;
    margin: 0 auto;
    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;
}

/* === ФОРМА === */
#application-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="number"],
select,
textarea {
    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,
select:focus,
textarea: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;
}

input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select {
    height: auto;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230066cc' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* === RADIO И CHECKBOX === */
.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%;
}

.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;
}

/* === ЗАГРУЗКА ФАЙЛОВ === */
.file-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px dashed #c0c0c0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #555;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #e8f4ff 0%, #d0e8ff 100%);
    border-color: #0066cc;
    color: #0066cc;
}

.file-name {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* === УСЛОВНЫЕ БЛОКИ === */
.conditional-block {
    margin-top: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.conditional-block.active {
    opacity: 1;
    max-height: 1000px;
}

.info-box {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 20px;
    border-radius: 8px;
}

.info-box h4 {
    margin: 0 0 10px 0;
    color: #0066cc;
}

.info-box p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

/* === ССЫЛКИ === */
.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;
}

.btn-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    transform: translateX(5px);
}

/* === КНОПКА ОТПРАВКИ === */
.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:active {
    transform: translateY(-1px);
}

.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);
}

.form-message.info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
    transition: opacity 0.3s ease;
}


/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {

    .form-container {
        border-radius: 15px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    #application-form {
        padding: 25px 20px;
    }

    .form-section {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.3rem;
    }

    .form-subtitle {
        font-size: 0.95rem;
    }

    #application-form {
        padding: 20px 15px;
    }

    .form-section {
        padding: 15px;
    }
}/* End custom CSS */