:root {
    --brand-main: #067597;
    --brand-dark: #055a74;
    --brand-light: #e6f4f8;
    --text-dark: #1a2733;
    --text-muted: #64748b;
    --radius-lg: 24px;
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

/* Общая структура */
.selection-page, .selection-wizard, .selection-result {
    padding-top: 40px;
    padding-bottom: 60px;
}

.max-width-700 { max-width: 700px; }
.max-width-900 { max-width: 900px; }

/* Заголовки */
.selection-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    padding-top: 35px;
}

.selection-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Анимация появления */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Карточка сценария */
.selection-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none !important;
    color: var(--text-dark) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.selection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 117, 151, 0.3);
}

.selection-card-image {
    height: 160px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    border-radius: 16px;
    padding: 15px;
}

.selection-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.selection-card:hover .selection-card-image img {
    transform: scale(1.08);
}

.selection-card-image-placeholder {
    font-size: 50px;
    color: var(--brand-main);
    opacity: 0.7;
}

.selection-card-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.selection-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Форма Wizard */
.wizard-form {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-lg) !important;
    position: relative;
}

.form-label {
    font-size: 1.05rem;
    color: #1e293b;
}

.input-group-modern input, 
.input-group-modern select {
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.2s;
    text-align: center;
}

.input-group-modern input:focus, 
.input-group-modern select:focus {
    background: #fff;
    border-color: var(--brand-main);
    box-shadow: 0 0 0 4px rgba(6, 117, 151, 0.1);
    outline: none;
}

/* Кнопка градиент */
.btn-primary-gradient {
    background: linear-gradient(135deg, #067597 0%, #045a74 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 117, 151, 0.3);
    color: #fff;
}

/* Результаты */
.bg-primary-subtle {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
    border-bottom-color: #f1f5f9;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}
.btn-modern-primary {
border: 1.5px solid #067597;
    color: #067597;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}
.btn-modern-primary:hover {
  background: #067597;
  color: #fff;
}
@media print {
    .navbar, .footer-modern, .btn, .selection-subtitle { display: none !important; }
    .shadow-lg { box-shadow: none !important; }
    .selection-result { padding-top: 0; }
}