/* ========================================
   СТИЛИ ДЛЯ ВАКАНСИИ
   Инженер по охране труда — Самара
======================================== */

/* БАЗОВЫЕ СТИЛИ */
:root {
    --primary: #0066FF;
    --dark: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --whatsapp: #25D366;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ШАПКА
======================================== */
.header {
    background: var(--dark);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.vacancy-badge {
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   О КОМПАНИИ И ВАКАНСИИ
======================================== */
.about-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-section h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

.about-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-content h2 {
    color: var(--primary);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content h2:first-of-type {
    margin-top: 0;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

.benefits-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid var(--primary);
}

.benefits-box h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-box h3 i {
    color: var(--success);
}

.benefits-box ul {
    list-style: none;
    padding-left: 0;
}

.benefits-box ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--gray);
}

.benefits-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* ========================================
   ЧТО НУЖНО ДЕЛАТЬ
======================================== */
.tasks-section {
    padding: 60px 0;
    background: var(--white);
}

.tasks-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.task-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,102,255,0.2);
}

.task-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
}

.task-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.task-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.task-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--success);
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    display: inline-block;
}

/* CTA после задач */
.cta-after-tasks {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cta-text-main {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.4;
}

/* Основная кнопка WhatsApp - АКЦЕНТ */
.btn-whatsapp-primary {
    display: inline-block;
    background: var(--whatsapp);
    color: var(--white);
    padding: 22px 50px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    border: 3px solid var(--whatsapp);
}

.btn-whatsapp-primary:hover {
    background: #20BA5A;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    border-color: #20BA5A;
}

.btn-whatsapp-primary i {
    margin-right: 12px;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Альтернативный вариант (форма) - ВТОРОСТЕПЕННО */
.alternative-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--border);
}

.alternative-text {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    font-style: italic;
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gray);
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
}

.btn-cta-secondary:hover {
    background: var(--light-gray);
    color: var(--dark);
    border-color: var(--gray);
    transform: translateY(-2px);
}

.btn-cta-secondary i {
    margin-right: 8px;
}

/* ========================================
   ТРЕБОВАНИЯ К КАНДИДАТУ
======================================== */
.requirements-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.requirements-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
}

.requirements-section h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.requirements-box {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--border);
}

.box-header i {
    font-size: 32px;
}

.required-box .box-header {
    border-bottom-color: var(--primary);
}

.required-box .box-header i {
    color: var(--primary);
}

.bonus-box .box-header {
    border-bottom-color: #ffa726;
}

.bonus-box .box-header i {
    color: #ffa726;
}

.box-header h3 {
    font-size: 24px;
    margin: 0;
    color: var(--dark);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.requirements-list li:hover {
    background: #e8f4f8;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.requirements-list i {
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.required-box .requirements-list i {
    color: var(--success);
}

.bonus-box .requirements-list i {
    color: #ffa726;
}

.requirements-list span {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.6;
}

.requirements-list strong {
    color: var(--primary);
    font-weight: 700;
}

/* CTA после требований */
.cta-after-requirements {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cta-subtitle {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.btn-whatsapp-secondary {
    display: inline-block;
    background: var(--whatsapp);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    border: 3px solid var(--whatsapp);
}

.btn-whatsapp-secondary:hover {
    background: #20BA5A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    border-color: #20BA5A;
}

.btn-whatsapp-secondary i {
    margin-right: 10px;
    font-size: 20px;
}

/* ========================================
   РЕФЕРАЛЬНАЯ ПРОГРАММА
======================================== */
.referral-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.referral-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.referral-section h2 i {
    color: var(--primary);
}

.referral-description {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

.table-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.table-wrapper h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.referral-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.referral-table thead {
    background: var(--primary);
    color: var(--white);
}

.referral-table th {
    padding: 15px;
    text-align: left;
    font-weight: 500;
}

.referral-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.referral-table tbody tr:hover {
    background: var(--light-gray);
}

.referral-table .reward {
    font-weight: 700;
    color: var(--success);
    font-size: 18px;
}

.referral-table .partner-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.referral-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.referral-note i {
    color: #ffc107;
    font-size: 24px;
    margin-top: 3px;
}

.referral-note p {
    margin: 0;
    color: #856404;
    line-height: 1.6;
}

/* ========================================
   КОНТАКТЫ
======================================== */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-box {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.contact-box h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-description {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-option {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    background: var(--whatsapp);
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-link {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0052cc;
}

.contact-link.whatsapp-link {
    color: var(--whatsapp);
}

.contact-link.whatsapp-link:hover {
    color: #1ea952;
}

.contact-note {
    font-size: 14px;
    color: var(--gray);
    font-style: italic;
}

/* ФОРМА */
.quick-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    border-top: 4px solid var(--primary);
}

.quick-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 22px;
}

.quick-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.quick-form input {
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.quick-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.privacy-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
}

/* ========================================
   ФУТЕР
======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-city {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.footer-city i {
    color: var(--primary);
}

/* ========================================
   АДАПТИВНОСТЬ
======================================== */

/* Планшеты */
@media (max-width: 768px) {
    .about-section h1 {
        font-size: 28px;
    }
    
    .about-content {
        padding: 25px;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .quick-form {
        padding: 25px 15px;
    }
    
    .referral-table {
        font-size: 14px;
    }
    
    .referral-table th,
    .referral-table td {
        padding: 10px 8px;
    }
    
    /* CTA кнопки на планшетах */
    .cta-text-main {
        font-size: 20px;
    }
    
    .btn-whatsapp-primary {
        padding: 18px 40px;
        font-size: 18px;
    }
    
    /* Requirements section на планшетах */
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-section h2 {
        font-size: 28px;
    }
    
    .requirements-box {
        padding: 30px;
    }
    
    .box-header h3 {
        font-size: 22px;
    }
}

/* Мобильные */
@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .about-section h1 {
        font-size: 24px;
    }
    
    .about-content p {
        font-size: 16px;
    }
    
    .tasks-section h2,
    .referral-section h2,
    .contact-box h2 {
        font-size: 24px;
    }
    
    .contact-link {
        font-size: 18px;
    }
    
    /* Таблица с горизонтальной прокруткой */
    .table-wrapper {
        overflow-x: auto;
        padding: 15px;
    }
    
    .referral-table {
        min-width: 600px;
        font-size: 13px;
    }
    
    /* CTA кнопки на мобильных */
    .cta-after-tasks {
        padding: 30px 20px;
    }
    
    .cta-text-main {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .btn-whatsapp-primary {
        padding: 16px 30px;
        font-size: 17px;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-whatsapp-primary i {
        font-size: 20px;
    }
    
    .alternative-text {
        font-size: 14px;
    }
    
    .btn-cta-secondary {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
    }
    
    /* Requirements section на мобильных */
    .requirements-section {
        padding: 40px 0;
    }
    
    .requirements-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requirements-box {
        padding: 20px;
    }
    
    .box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .box-header i {
        font-size: 28px;
    }
    
    .box-header h3 {
        font-size: 20px;
    }
    
    .requirements-list li {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .requirements-list i {
        font-size: 18px;
    }
    
    .requirements-list span {
        font-size: 15px;
    }
    
    .cta-after-requirements {
        padding: 25px 20px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
    
    .btn-whatsapp-secondary {
        padding: 16px 30px;
        font-size: 16px;
        width: 100%;
    }
}

/* ========================================
   АНИМАЦИИ
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.task-card,
.contact-option,
.table-wrapper {
    animation: fadeInUp 0.6s ease forwards;
}

.task-card:nth-child(1) { animation-delay: 0.1s; }
.task-card:nth-child(2) { animation-delay: 0.2s; }
.task-card:nth-child(3) { animation-delay: 0.3s; }
.task-card:nth-child(4) { animation-delay: 0.4s; }

/* ========================================
   СТИЛИ ДЛЯ ПЕЧАТИ
======================================== */
@media print {
    /* Общие настройки */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000000;
        background: #ffffff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Скрыть элементы, не нужные для печати */
    .header,
    .vacancy-badge,
    .btn-cta-scroll,
    .btn-submit,
    .contact-icon,
    .quick-form,
    .contact-options,
    .footer,
    button,
    input[type="submit"],
    input[type="button"] {
        display: none !important;
    }
    
    /* Убрать интерактивные элементы */
    a[href^="tel:"],
    a[href^="https://wa.me"] {
        color: #000000 !important;
        text-decoration: none !important;
    }
    
    a[href^="tel:"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666666;
    }
    
    /* Секции */
    section {
        page-break-inside: avoid;
        margin-bottom: 20pt;
        padding: 10pt 0;
    }
    
    .about-section,
    .tasks-section,
    .referral-section,
    .contact-section {
        background: #ffffff !important;
        box-shadow: none !important;
    }
    
    /* Заголовки */
    h1 {
        font-size: 24pt;
        margin-bottom: 12pt;
        color: #000000;
        page-break-after: avoid;
    }
    
    h2 {
        font-size: 18pt;
        margin-top: 16pt;
        margin-bottom: 10pt;
        color: #000000;
        page-break-after: avoid;
    }
    
    h3 {
        font-size: 14pt;
        margin-top: 12pt;
        margin-bottom: 8pt;
        color: #000000;
    }
    
    /* О компании */
    .about-content {
        border: 1pt solid #cccccc;
        padding: 15pt;
        background: #ffffff !important;
        box-shadow: none !important;
    }
    
    .about-content p {
        margin-bottom: 10pt;
        font-size: 11pt;
        line-height: 1.5;
    }
    
    /* Задачи */
    .tasks-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15pt;
        page-break-inside: avoid;
    }
    
    .task-card {
        border: 1pt solid #cccccc;
        padding: 12pt;
        background: #ffffff !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .task-icon {
        width: 40pt;
        height: 40pt;
        background: #0066FF !important;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8pt;
        font-size: 18pt;
    }
    
    .task-card h3 {
        font-size: 13pt;
        margin-bottom: 6pt;
    }
    
    .task-card p {
        font-size: 10pt;
        margin-bottom: 6pt;
    }
    
    .task-price {
        font-size: 12pt;
        font-weight: bold;
        color: #28a745 !important;
        background: none !important;
        padding: 0;
    }
    
    /* CTA после задач - показать только текст */
    .cta-after-tasks {
        background: #f5f5f5 !important;
        border: 1pt solid #cccccc;
        padding: 12pt;
        text-align: center;
        box-shadow: none !important;
    }
    
    .cta-text {
        font-size: 12pt;
        font-weight: bold;
    }
    
    /* Реферальная программа */
    .referral-section {
        page-break-before: always;
    }
    
    .referral-description {
        margin-bottom: 12pt;
        font-size: 11pt;
    }
    
    .table-wrapper {
        page-break-inside: avoid;
        overflow: visible;
        background: #ffffff !important;
        box-shadow: none !important;
        border: 1pt solid #cccccc;
        padding: 10pt;
    }
    
    .referral-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 10pt;
    }
    
    .referral-table thead {
        background: #0066FF !important;
        color: #ffffff !important;
    }
    
    .referral-table th {
        padding: 8pt;
        text-align: left;
        font-weight: bold;
        border: 1pt solid #0066FF;
    }
    
    .referral-table td {
        padding: 8pt;
        border: 1pt solid #cccccc;
        font-size: 10pt;
    }
    
    .referral-table tbody tr {
        page-break-inside: avoid;
    }
    
    .referral-table tbody tr:nth-child(even) {
        background: #f9f9f9 !important;
    }
    
    .partner-price {
        font-weight: bold;
        color: #0066FF !important;
        font-size: 11pt;
    }
    
    /* Информационная плашка */
    .referral-note {
        background: #fff9e6 !important;
        border: 1pt solid #ffc107;
        padding: 10pt;
        margin-top: 12pt;
        page-break-inside: avoid;
    }
    
    .referral-note i {
        display: none;
    }
    
    .referral-note p {
        font-size: 10pt;
        margin: 0;
    }
    
    /* Контакты - показать только текстовую информацию */
    .contact-section {
        page-break-before: always;
    }
    
    .contact-box {
        border: 2pt solid #000000;
        padding: 15pt;
        background: #ffffff !important;
        box-shadow: none !important;
    }
    
    .contact-box h2 {
        margin-top: 0;
    }
    
    .contact-description {
        font-size: 11pt;
        margin-bottom: 12pt;
    }
    
    /* Показать контакты как текст */
    .contact-option {
        border: 1pt solid #cccccc;
        padding: 10pt;
        margin-bottom: 10pt;
        background: #ffffff !important;
    }
    
    .contact-details h3 {
        font-size: 12pt;
        margin-bottom: 4pt;
    }
    
    .contact-link {
        font-size: 14pt;
        font-weight: bold;
        color: #000000 !important;
        text-decoration: none !important;
    }
    
    .contact-note {
        font-size: 9pt;
        font-style: italic;
    }
    
    /* Убрать тени и скругления */
    * {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    /* Оптимизация печати */
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    /* Добавить информацию о сайте внизу каждой страницы */
    @page {
        margin: 2cm 1.5cm;
        
        @bottom-right {
            content: "Вакансия: Инженер по охране труда (Самара) | ООО СПЕЦОЦЕНКА";
            font-size: 8pt;
            color: #666666;
        }
        
        @bottom-left {
            content: "Тел: +7 (922) 687-16-22";
            font-size: 8pt;
            color: #666666;
        }
    }
    
    /* Разрывы страниц */
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    /* Печатная шапка документа */
    body::before {
        content: "ВАКАНСИЯ: ИНЖЕНЕР ПО ОХРАНЕ ТРУДА";
        display: block;
        text-align: center;
        font-size: 20pt;
        font-weight: bold;
        margin-bottom: 12pt;
        padding-bottom: 8pt;
        border-bottom: 2pt solid #000000;
    }
    
    body::after {
        content: "Город: Самара | Компания: ООО «СПЕЦОЦЕНКА»";
        display: block;
        text-align: center;
        font-size: 11pt;
        margin-top: 20pt;
        padding-top: 10pt;
        border-top: 1pt solid #cccccc;
        page-break-before: avoid;
    }
}

/* ============================================
   PRIVACY CONSENT STYLES (152-ФЗ)
   Стили для чекбокса согласия на обработку данных
   ============================================ */

.privacy-consent {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.privacy-consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.privacy-consent-checkbox {
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #28a745;
}

.privacy-consent-checkbox:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.privacy-consent-checkbox.error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.privacy-consent-text {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.privacy-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.privacy-consent-error {
    font-size: 13px;
    color: #dc3545;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8d7da;
    border-left: 3px solid #dc3545;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-consent {
        padding: 12px;
        margin: 15px 0;
    }
    
    .privacy-consent-text {
        font-size: 13px;
    }
    
    .privacy-consent-checkbox {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .privacy-consent-text {
        font-size: 12px;
    }
    
    .privacy-consent-checkbox {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
}
