/* ===== БЛОК С ОФФЕРОМ ===== */
.yalashes-career-audit-block {
    margin: 30px 0 50px;
    width: 100%;
}

.yalashes-audit-container {
    position: relative;
    background-image: url('../img/audit-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 60px 40px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    overflow: hidden; /* чтобы псевдоэлемент не выходил за границы */
}

/* Затемнение фона */
.yalashes-audit-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(118, 75, 162, 0.55);
    z-index: 1;
}

/* Контент поверх затемнения */
.yalashes-audit-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.yalashes-audit-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.yalashes-audit-description {
    font-size: 18px;
    margin: 0 0 32px 0;
    opacity: 0.95;
    line-height: 1.5;
}

.yalashes-audit-btn {
    display: inline-block;
    background: #C8E629;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 230, 41, 0.4);
}

.yalashes-audit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 230, 41, 0.6);
    background: #D4EC38;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.yalashes-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.yalashes-modal {
    background: white;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yalashes-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.yalashes-modal-close:hover {
    background: #e0e0e0;
    color: #000;
    transform: rotate(90deg);
}

.yalashes-modal-header {
    margin-bottom: 32px;
}

.yalashes-modal-badge {
    display: inline-block;
    background: #F0F7DA;
    color: #2E7D32;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.yalashes-modal-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.yalashes-modal-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== ФОРМА ===== */
.yalashes-modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yalashes-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yalashes-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.yalashes-required {
    color: #e53935;
}

.yalashes-form-input {
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.yalashes-form-input:focus {
    border-color: #C8E629;
    box-shadow: 0 0 0 4px rgba(200, 230, 41, 0.1);
}

.yalashes-form-input::placeholder {
    color: #999;
}

.yalashes-submit-btn {
    background: #C8E629;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.yalashes-submit-btn:hover {
    background: #D4EC38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 230, 41, 0.4);
}

.yalashes-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.yalashes-form-consent {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

.yalashes-form-consent a {
    color: #667eea;
    text-decoration: underline;
}

/* ===== СООБЩЕНИЯ ===== */
.yalashes-success-message,
.yalashes-error-message {
    text-align: center;
    padding: 40px 20px;
}

.yalashes-success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
}

.yalashes-error-icon {
    width: 80px;
    height: 80px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
}

.yalashes-success-message h3,
.yalashes-error-message h3 {
    font-size: 24px;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.yalashes-success-message p,
.yalashes-error-message p {
    color: #666;
    margin: 0;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .yalashes-audit-container {
        padding: 40px 24px;
    }

    .yalashes-audit-title {
        font-size: 24px;
    }

    .yalashes-audit-description {
        font-size: 16px;
    }

    .yalashes-audit-btn {
        padding: 16px 32px;
        font-size: 14px;
    }

    .yalashes-modal {
        padding: 30px 20px;
        margin: 20px auto;
    }

    .yalashes-modal-title {
        font-size: 24px;
    }

    .yalashes-modal-subtitle {
        font-size: 14px;
    }
}