:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b4513;
    --accent-color: #c19a6b;
    --light-color: #f8f4e9;
    --dark-color: #1a1a1a;
    --success-color: #27ae60;
    --error-color: #c0392b;
    --warning-color: #f39c12;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-subtle: 0 4px 12px rgba(44, 62, 80, 0.08);
    --shadow-elevated: 0 10px 30px rgba(44, 62, 80, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: "Hero";
  src: url("../assets/fonts/Menlo.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
    color: var(--dark-color);
    line-height: 1.7;
    background-color: var(--light-color);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c19a6b' fill-opacity='0.07' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at 15% 50%, rgba(194, 154, 107, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 85% 30%, rgba(139, 69, 19, 0.05) 0%, transparent 20%);
    padding: 20px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Декоративные уголки страницы */
.container::before,
.container::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 Z' fill='none' stroke='%23c19a6b' stroke-width='2' stroke-dasharray='5,5'/%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.3;
}

.container::before {
    top: -20px;
    left: -20px;
}

.container::after {
    bottom: -20px;
    right: -20px;
}

/* ===== ШАПКА АФИША С ЛОГОТИПАМИ ===== */
.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 30px 40px;
    background: linear-gradient(145deg, var(--light-color), var(--accent-color));
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-elevated);
    position: relative;
    overflow: hidden;
    border-bottom: 8px solid var(--accent-color);
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color), var(--accent-color));
}

/* Контейнер для логотипов */
.header-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.logo-left, .logo-right {
    width: 120px;
    height: 120px;
    position: relative;
}

.logo-left img, .logo-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
    border-radius: 60px;
}

.logo-left img:hover, .logo-right img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}

.header h1 {
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
}

.header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-style: italic;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.header .subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* ===== ХУДОЖЕСТВЕННЫЕ ЭЛЕМЕНТЫ ===== */
.art-elements {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.art-element {
    font-size: 2.8rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition);
    animation: gentlePulse 4s ease-in-out infinite;
    border: 2px solid transparent;
}

.art-element:hover {
    transform: translateY(-8px) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
    animation-play-state: paused;
}

.art-element:nth-child(1) { animation-delay: 0s; color: var(--light-color); }
.art-element:nth-child(2) { animation-delay: 0.5s; color: var(--light-color); }
.art-element:nth-child(3) { animation-delay: 1s; color: var(--light-color); }
.art-element:nth-child(4) { animation-delay: 1.5s; color: var(--light-color); }

@keyframes gentlePulse {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    50% { transform: translateY(-10px) scale(1.05); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }
}

/* ===== ОСНОВНОЙ КОНТЕНТ И САЙДБАР ===== */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Сайдбар - информационная панель */
.sidebar {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    background-color: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-subtle);
    border-left: 6px solid var(--secondary-color);
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    transition: var(--transition);
    position: sticky;
    background-image: 
        linear-gradient(to bottom, transparent 95%, rgba(194, 154, 107, 0.1) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%238b4513' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.sidebar:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-5px);
}

.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: var(--secondary-color); }

.info-card {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #eae2d6;
}

.info-card:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.info-card h3 {
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    color: var(--primary-color);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.info-card i {
    color: var(--secondary-color);
}

.info-card ul {
    list-style-type: none;
}

.info-card li {
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
}

.info-card li::before {
    content: "♪";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* ===== ФОРМА ===== */
.form-container {
    flex: 2;
    min-width: 0;
    background-color: white;
    border-radius: 16px;
    padding: 45px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border-top: 1px solid rgba(194, 154, 107, 0.2);
    position: relative;
    background-image: 
        linear-gradient(to bottom, transparent 98%, rgba(139, 69, 19, 0.1) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%238b4513' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.form-container:hover {
    box-shadow: var(--shadow-elevated);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-color);
    flex-wrap: wrap;
    gap: 20px;
}

.form-header h3 {
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    flex: 1;
    min-width: 250px;
}

.step-indicator {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.step {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e0d6c9;
    position: relative;
    transition: var(--transition);
}

.step.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(194, 154, 107, 0.3);
}

.step::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #e0d6c9;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.step:last-child::after {
    display: none;
}

.step.active::after {
    background-color: var(--accent-color);
}

/* Секции формы */
.form-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid #f0ebe3;
    position: relative;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    padding-left: 20px;
    border-left: 5px solid var(--accent-color);
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.3em;
}

/* Группы полей */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group.full-width {
    flex: 0 0 100%;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.required::after {
    content: " *";
    color: var(--error-color);
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8e2d6;
    border-radius: 10px;
    font-size: 16px;
    background-color: #fefcf7;
    transition: var(--transition);
    color: var(--dark-color);
}

input:focus, textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(194, 154, 107, 0.25);
    background-color: white;
}

input[readonly] {
    background-color: #f5f1e9;
    cursor: not-allowed;
    color: #7a6e5c;
    border-style: dashed;
}

/* КАСТОМНЫЙ SELECT */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-display {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e8e2d6;
    border-radius: 10px;
    font-size: 16px;
    background-color: #fefcf7;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
    text-align: left;
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.custom-select-display:hover {
    border-color: var(--accent-color);
    background-color: #fcf9f2;
}

.custom-select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--secondary-color);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s;
}

.custom-select-wrapper.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-display.placeholder {
    color: #a89f8d;
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: white;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-elevated);
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select-dropdown.active {
    display: block;
}

.custom-select-option {
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f5f1e9;
    color: var(--primary-color);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
    padding-left: 25px;
}

.custom-select-option.selected {
    background-color: rgba(194, 154, 107, 0.15);
    color: var(--secondary-color);
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
}

.custom-select-wrapper.disabled .custom-select-display {
    background-color: #f5f1e9;
    cursor: not-allowed;
    color: #a89f8d;
    border-color: #ddd8cc;
}

/* ДИНАМИЧЕСКИЕ БЛОКИ И ПРОГРАММА */
.dynamic-block {
    background-color: rgba(248, 244, 233, 0.6);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin-top: 25px;
    display: none;
    backdrop-filter: blur(5px);
}

.dynamic-block.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.program-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.program-row input {
    flex: 1;
}

.program-row .small-input {
    flex: 0.5;
    min-width: 120px;
}

.add-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.add-btn:hover {
    background-color: var(--secondary-color);
    transform: rotate(90deg);
}

.remove-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.remove-btn:hover {
    background-color: var(--secondary-color);
    transform: rotate(90deg);
}

/* УВЕДОМЛЕНИЯ */
.alert {
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 6px solid;
}

.alert-warning {
    background-color: #fff8e6;
    color: #b38b2d;
    border-left-color: var(--accent-color);
}

.alert i {
    font-size: 1.5em;
}

/* КНОПКИ */
.form-footer {
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #a05a2c);
    color: white;
    box-shadow: 0 6px 0 #6b3a1c;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a05a2c, var(--secondary-color));
    transform: translateY(-4px);
    box-shadow: 0 10px 0 #6b3a1c;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 #6b3a1c;
}

.btn-secondary {
    background-color: #f1ebe1;
    color: var(--primary-color);
    border: 2px solid #e0d6c9;
}

.btn-secondary:hover {
    background-color: #e8dfd0;
    border-color: var(--accent-color);
    color: var(--secondary-color);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1100px) {
    .sidebar {
        position: static;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .header-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-left, .logo-right {
        width: 100px;
        height: 100px;
    }
    
    .form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header h1 { 
        font-size: 2.5rem; 
        line-height: 1.2;
    }
    .header h2 { 
        font-size: 1.5rem; 
    }
    .header { 
        padding: 40px 20px 30px; 
    }
    
    .header-logos {
        padding: 0 10px;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .logo-left, .logo-right {
        width: 80px;
        height: 80px;
    }
    
    .art-elements { 
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .art-element { 
        width: 60px; 
        height: 60px; 
        font-size: 2.2rem; 
    }
    
    /* ФИКС ДЛЯ ШАПКИ ФОРМЫ */
    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .form-header h3 {
        font-size: 1.8rem;
        min-width: 100%;
        text-align: center;
    }
    
    .step-indicator {
        align-self: center;
    }
    
    .form-row { 
        flex-direction: column; 
        gap: 20px; 
    }
    .form-group { 
        min-width: 100%; 
    }
    
    .program-row { 
        flex-direction: column; 
        gap: 15px; 
    }
    .program-row .small-input { 
        min-width: 100%; 
    }
    
    .form-footer { 
        flex-direction: column-reverse; 
        gap: 20px; 
    }
    .btn { 
        width: 100%; 
        justify-content: center; 
    }
    
    .sidebar, .form-container { 
        padding: 30px 25px; 
        border-radius: 12px;
    }
    
    .form-container {
        padding: 30px 25px;
    }

    .custom-select-dropdown {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: calc(100vw - 40px);
        max-height: 70vh;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    body { 
        padding: 10px;
    }
    .header h1 { 
        font-size: 2rem; 
        padding: 0 10px;
        line-height: 1.1;
    }
    .header h2 { 
        font-size: 1.3rem; 
        padding: 0 10px;
    }
    .art-element { 
        width: 50px; 
        height: 50px; 
        font-size: 1.8rem; 
    }
    
    .form-container, .sidebar { 
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .section-title { 
        font-size: 1.3rem; 
        padding-left: 15px;
        margin-bottom: 20px;
    }
    
    .logo-left, .logo-right {
        width: 60px;
        height: 60px;
    }
    
    .form-header h3 {
        font-size: 1.6rem;
        text-align: left;
    }
    
    .step-indicator {
        align-self: flex-start;
    }

    .form-section {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    input, textarea {
        padding: 14px 16px;
    }

    .btn {
        padding: 16px 20px;
        font-size: 16px;
    }

    .program-row {
        gap: 10px;
    }
    
    .add-btn, .remove-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .sidebar {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 360px) {
    .header h1 {
        font-size: 1.7rem;
    }
    
    .header h2 {
        font-size: 1.1rem;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
    }
    
    .form-container, .sidebar {
        padding: 15px 12px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .art-element {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.2s;
}

.error {
    border-color: var(--error-color) !important;
    background-color: #fdf3f2 !important;
}

.error:focus {
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.25) !important;
}

/* ===== СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ ===== */

.consent-block {
    background: linear-gradient(135deg, rgba(248, 244, 233, 0.8), rgba(252, 249, 242, 0.9));
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(232, 226, 214, 0.8);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        0 5px 20px rgba(139, 69, 19, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.consent-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color), var(--accent-color));
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 25px;
    margin: 10px 0px;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e8e2d6;
    transition: var(--transition);
    position: relative;
}

.checkbox-container:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-subtle);
}

.checkbox-container:last-child {
    margin-bottom: 0;
}

/* Иконка согласия */
.checkbox-container::before {
    content: "✓";
    position: absolute;
    top: -12px;
    right: 20px;
    width: 25px;
    height: 25px;
    background: var(--light-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: bold;
    opacity: 0;
    transition: var(--transition);
}

.checkbox-container input[type="checkbox"]:checked + label + .checkbox-container::before {
    opacity: 1;
}

.checkbox-container input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 4px;
    cursor: pointer;
    border: 2px solid #d4c9b8;
    border-radius: 6px;
    appearance: none;
    background-color: white;
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:hover {
    border-color: var(--accent-color);
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5347;
    cursor: pointer;
    flex: 1;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
}

.checkbox-label .required {
    color: var(--error-color);
    font-weight: bold;
    margin-right: 5px;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: var(--transition);
    position: relative;
}

.checkbox-label a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.checkbox-label a::after {
    content: " ↗";
    font-size: 0.9em;
    opacity: 0;
    transition: var(--transition);
}

.checkbox-label a:hover::after {
    opacity: 1;
}

/* Ошибка в чекбоксе */
.checkbox-container.error {
    border-color: var(--error-color);
    background-color: rgba(192, 57, 43, 0.03);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.checkbox-container.error::before {
    content: "!";
    background: rgba(192, 57, 43, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
    opacity: 1;
}

.checkbox-container.error .checkbox-label {
    color: var(--error-color);
}

.checkbox-container.error .checkbox-label a {
    color: var(--error-color);
}

.checkbox-container.error .checkbox-label a:hover {
    color: #c0392b;
}

/* Информационное уведомление в блоке согласия */
.consent-block .alert {
    margin-top: 30px;
    margin-bottom: 0;
    border-left: 6px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.9);
}

.consent-block .alert i {
    color: var(--secondary-color);
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .input-with-button {
        flex-direction: column;
        gap: 12px;
    }
    
    .container::before,
    .container::after {
        display: none;
    }

    .btn-check {
        width: 100%;
        justify-content: center;
    }
    
    .checkbox-container {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .checkbox-label {
        font-size: 1rem;
    }
    
    .status-result-inner {
        padding: 25px 20px;
    }
    
    .status-details table {
        font-size: 0.9rem;
    }
    
    .status-details td {
        padding: 12px 10px;
    }
    
    .status-details td:first-child {
        width: 40%;
        white-space: normal;
    }
    
    .consent-block {
        padding: 25px 20px;
    }
}

@media (min-width: 769px) {
    .container::before,
    .container::after {
        display: block;
    }
}

@media (max-width: 480px) {
    .checkbox-container {
        flex-direction: row;
        padding: 18px 15px;
        gap: 12px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
    }
    
    .status-result h4 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .status-result h4 i {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .btn-check {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .help-text {
        font-size: 0.9rem;
    }
}

/* Анимация пульсации для статуса */
.pulse {
    animation: gentlePulse 0.6s ease-in-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== ПРОВЕРКА СТАТУСА ЗАЯВКИ ===== */

/* Блок проверки статуса */
.check-status-block {
    margin-bottom: 30px;
    position: relative;
}

.input-with-button {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.input-with-button input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid #d8c9b5;
    border-radius: 12px;
    font-size: 17px;
    background-color: #fefcf7;
    transition: var(--transition);
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

.input-with-button input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.15);
    background-color: white;
    transform: translateY(-2px);
}

.input-with-button input::placeholder {
    color: #a89f8d;
    font-style: italic;
}

.btn-check {
    background: linear-gradient(135deg, var(--secondary-color), #9c4d1e);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 0 #5a2d0f;
    position: relative;
    overflow: hidden;
}

.btn-check::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-check:hover {
    background: linear-gradient(135deg, #9c4d1e, var(--secondary-color));
    transform: translateY(-4px);
    box-shadow: 0 10px 0 #5a2d0f;
}

.btn-check:hover::before {
    left: 100%;
}

.btn-check:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 #5a2d0f;
}

.btn-check:disabled {
    background: #c4b8a4;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 0 #8a7e6a;
}

.btn-check:disabled:hover {
    background: #c4b8a4;
    transform: none;
    box-shadow: 0 4px 0 #8a7e6a;
}

.btn-check:disabled::before {
    display: none;
}

.help-text {
    color: #7a6e5c;
    font-size: 1rem;
    margin: 15px 0 0 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
    font-style: italic;
    padding: 18px 20px;
    background: linear-gradient(to right, rgba(248, 244, 233, 0.8), rgba(252, 249, 242, 0.9));
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.help-text i {
    color: var(--secondary-color);
    margin-top: 3px;
    font-size: 1.2em;
    min-width: 24px;
}

/* Результат проверки статуса */
.status-result {
    margin-top: 35px;
    padding: 20;
    border-radius: 16px;
    background: linear-gradient(to bottom, white, #fefcf7);
    border: 2px solid #e8e2d6;
    display: none;
    overflow: hidden;
    box-shadow: 
        var(--shadow-subtle),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    transform-origin: top center;
}

.status-result::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.status-result.active {
    display: block;
    animation: curtainReveal 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes curtainReveal {
    0% {
        opacity: 0;
        transform: translateY(-20px) scaleY(0.8);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* статусы */
.status-success {
    border-color: rgba(39, 174, 96, 0.3);
}

.status-success .status-result-inner {
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.05) 0%,
        rgba(46, 204, 113, 0.02) 100%);
    border-left: 8px solid var(--success-color);
}

.status-warning {
    border-color: rgba(243, 156, 18, 0.3);
}

.status-warning .status-result-inner {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.05) 0%,
        rgba(241, 196, 15, 0.02) 100%);
    border-left: 8px solid var(--warning-color);
}

.status-error {
    border-color: rgba(192, 57, 43, 0.3);
}

.status-error .status-result-inner {
    background: linear-gradient(135deg, 
        rgba(192, 57, 43, 0.05) 0%,
        rgba(231, 76, 60, 0.02) 100%);
    border-left: 8px solid var(--error-color);
}

.status-info {
    border-color: rgba(52, 152, 219, 0.3);
}

.status-info .status-result-inner {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.05) 0%,
        rgba(41, 128, 185, 0.02) 100%);
    border-left: 8px solid var(--primary-color);
}

.status-result-inner {
    padding: 35px 40px;
    position: relative;
    z-index: 1;
}

.status-result h4 {
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.status-result h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.status-result h4 i {
    font-size: 2rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
}

.status-result h4 i::before {
    position: relative;
    z-index: 2;
}

.status-result h4 i::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed currentColor;
    border-radius: 50%;
    opacity: 0.3;
}

.status-result p {
    margin: 15px 0;
    line-height: 1.8;
    color: #5a5347;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.status-result p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5em;
    line-height: 1;
}

/* Детали статуса */
.status-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 3px double rgba(139, 69, 19, 0.2);
    position: relative;
}

.status-details::before {
    content: "Детали заявки";
    position: absolute;
    top: -15px;
    left: 0;
    background: white;
    padding: 0 20px;
    color: var(--secondary-color);
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.status-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.status-details tr {
    transition: var(--transition);
}

.status-details tr:hover {
    background-color: rgba(248, 244, 233, 0.5);
}

.status-details td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(232, 226, 214, 0.8);
    vertical-align: top;
}

.status-details tr:last-child td {
    border-bottom: none;
}

.status-details td:first-child {
    font-weight: 700;
    color: var(--primary-color);
    width: 40%;
    padding-right: 30px;
    white-space: nowrap;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    border-right: 2px dotted rgba(139, 69, 19, 0.2);
}

.status-details td:last-child {
    color: #7a6e5c;
    word-break: break-word;
    line-height: 1.6;
}

/* Примечания к статусу */
.status-notes {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(248, 244, 233, 0.8), rgba(252, 249, 242, 0.9));
    border-radius: 12px;
    border-left: 6px solid var(--accent-color);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.status-notes strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 12px;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-notes p {
    margin: 0;
    color: #5a5347;
    line-height: 1.7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .input-with-button {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-check {
        width: 100%;
        justify-content: center;
    }
    
    .status-result-inner {
        padding: 25px;
    }
    
    .status-result h4 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .status-result h4 i {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .status-details table {
        font-size: 0.95rem;
    }
    
    .status-details td {
        padding: 14px 16px;
    }
    
    .status-details td:first-child {
        width: 45%;
        white-space: normal;
        border-right: none;
        border-bottom: 1px dotted rgba(139, 69, 19, 0.2);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    
    .status-details td:last-child {
        padding-top: 8px;
    }
    
    .status-details tr {
        display: flex;
        flex-direction: column;
    }
    
    .help-text {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .input-with-button input {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .btn-check {
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .status-result h4 {
        font-size: 1.3rem;
    }
    
    .status-result h4 i {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .status-result p {
        font-size: 1rem;
        padding-left: 20px;
    }
    
    .help-text {
        font-size: 0.9rem;
    }
}

/* Стили для радио-кнопок */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0;
    padding: 15px;
    background: rgba(248, 244, 233, 0.5);
    border-radius: 10px;
    border: 1px solid #e8e2d6;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    transition: var(--transition);
    background: white;
    flex: 1;
    min-width: 280px;
    border: 2px solid transparent;
}

.radio-label:hover {
    background: rgba(194, 154, 107, 0.1);
    transform: translateY(-2px);
    border-color: rgba(194, 154, 107, 0.3);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transition: var(--transition);
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--secondary-color);
    background: rgba(194, 154, 107, 0.1);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
    background: var(--secondary-color);
}

.radio-label input[type="radio"]:checked ~ span:not(.radio-custom) {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Выбранный вариант */
.radio-label.selected {
    background: rgba(194, 154, 107, 0.15);
    border-color: var(--accent-color);
}

/* Ошибка в радио-кнопках */
.radio-label.error {
    color: var(--error-color);
    background: rgba(192, 57, 43, 0.05);
    border-color: rgba(192, 57, 43, 0.3);
}

.radio-label.error .radio-custom {
    border-color: var(--error-color);
}

.radio-label.error input[type="radio"]:checked + .radio-custom {
    border-color: var(--error-color);
}

.radio-label.error input[type="radio"]:checked + .radio-custom::after {
    background: var(--error-color);
}

/* Адаптивность для радио-кнопок */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label {
        min-width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .radio-label {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }
    
    .radio-custom::after {
        width: 8px;
        height: 8px;
    }
}
/* ===== СЕКЦИЯ ОПЛАТЫ ПО QR-КОДУ ===== */
.qr-payment-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(145deg, #fdfbf6, #f8f4e9);
    border-radius: 20px;
    border: 2px solid rgba(194, 154, 107, 0.2);
    box-shadow: 
        var(--shadow-subtle),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.qr-payment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color), var(--accent-color));
}

.qr-code-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.qr-code-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid #e8e2d6;
    transition: var(--transition);
}

.qr-code-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
}

.qr-code-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #f0ebe3;
    padding: 15px;
    background: white;
    display: block;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.qr-code-image img:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.qr-hint {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px;
    background: rgba(194, 154, 107, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.qr-instructions {
    flex: 2;
    min-width: 300px;
}

.qr-instructions h4 {
    font-family: 'Hero', 'Lora', 'Georgia', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-instructions h4::before {
    content: "";
    font-size: 1.5em;
}

.qr-instructions ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.qr-instructions li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding: 20px 25px 20px 80px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8e2d6;
    position: relative;
    transition: var(--transition);
    line-height: 1.6;
}

.qr-instructions li:hover {
    transform: translateX(5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-subtle);
}

.qr-instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Hero', 'Lora', 'Georgia', serif;
}

.qr-instructions li:nth-child(1)::before { background: #2c3e50; }
.qr-instructions li:nth-child(2)::before { background: #8b4513; }
.qr-instructions li:nth-child(3)::before { background: #c19a6b; }
.qr-instructions li:nth-child(4)::before { background: #27ae60; }
.qr-instructions li:nth-child(5)::before { background: #f39c12; }

/* Адаптивность для QR-секции */
@media (max-width: 992px) {
    .qr-payment-section {
        padding: 30px;
    }
    
    .qr-code-container {
        gap: 40px;
    }
    
    .qr-code-image,
    .qr-instructions {
        min-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .qr-payment-section {
        padding: 25px;
        margin: 30px 0;
    }
    
    .qr-code-container {
        gap: 30px;
    }
    
    .qr-code-image {
        padding: 25px;
    }
    
    .qr-instructions h4 {
        font-size: 1.6rem;
    }
    
    .qr-instructions li {
        padding: 18px 20px 18px 70px;
    }
    
    .qr-instructions li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .qr-payment-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .qr-code-image {
        padding: 20px;
        min-width: 100%;
    }
    
    .qr-code-image img {
        padding: 10px;
    }
    
    .qr-hint {
        font-size: 1rem;
        padding: 12px;
    }
    
    .qr-instructions h4 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .qr-instructions h4::before {
        font-size: 1.3em;
    }
    
    .qr-instructions li {
        padding: 15px 15px 15px 60px;
        margin-bottom: 15px;
    }
    
    .qr-instructions li::before {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Стилизация чекбокса согласия в QR-секции */
.qr-payment-section .form-group.full-width {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px dashed rgba(194, 154, 107, 0.3);
}

.qr-payment-section .checkbox-container {
    background: white;
    border: 2px solid #e8e2d6;
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
}

.qr-payment-section .checkbox-container:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-subtle);
    transform: translateY(-3px);
}

.qr-payment-section .checkbox-label {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a5347;
    font-weight: 500;
}

.qr-payment-section .required {
    color: var(--error-color);
    font-weight: bold;
    margin-right: 5px;
}

.qr-payment-section input[type="checkbox"]:checked + .checkbox-label {
    color: var(--secondary-color);
    font-weight: 600;
}