/* Football Predictor Pro - Main Stylesheet */
/* Version: 5.3 - Enhanced Sliders Layout and Compact Design */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.logo-text h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-text p {
    opacity: 0.9;
    font-size: 1rem;
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.user-subscription {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.user-subscription.free {
    background: #28a745;
}

.user-subscription.expert {
    background: #dc3545;
}

/* Кнопки авторизации */
.login-btn, .register-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    background: none;
}

.login-btn:hover, .register-btn:hover {
    background: white;
    color: #667eea;
}

.register-btn {
    background: rgba(255,255,255,0.2);
}

.logout-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: none;
    cursor: pointer;
}

.logout-btn:hover {
    background: white;
    color: #667eea;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Navigation */
.main-navigation {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    flex: 1;
    text-align: center;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-item.active .nav-link {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-icon {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.nav-text {
    font-size: 0.85rem;
}

/* ===== КОМПАКТНЫЙ ВЫБОР КОМАНД ===== */
.compact-team-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.selection-column {
    flex: 1;
    min-width: 0;
}

.selection-header h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.selection-input {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.selection-input:hover {
    border-color: #667eea;
}

.selected-team {
    display: flex;
    align-items: center;
    min-height: 20px;
}

.placeholder {
    color: #999;
    font-style: italic;
}

.team-name {
    font-weight: 600;
    color: #333;
}

.dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.vs-separator {
    padding: 0 10px;
    color: #666;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Модальное окно выбора команд */
.team-selection-modal {
    max-width: 800px;
    max-height: 80vh;
}

.team-selection-content {
    display: flex;
    gap: 20px;
    height: 400px;
    margin: 20px 0;
}

.countries-list, .teams-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.countries-list h4, .teams-list h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.countries-scroll, .teams-scroll {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
}

.country-item {
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.country-item:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.country-item.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.team-item {
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.team-item:hover {
    background: #f8f9fa;
    border-color: #28a745;
}

.team-item.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.no-teams {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}

/* ===== ОБНОВЛЕННЫЕ ПОЛЗУНКИ - С ПРОЦЕНТАМИ СЛЕВА ===== */
.sliders-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 15px 0;
    padding: 0 10px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.slider-value-display {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-label-right {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    min-width: 140px;
    text-align: right;
    white-space: nowrap;
}

.slider-visual {
    position: relative;
    flex: 1;
    height: 30px;
    display: flex;
    align-items: center;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.1s ease;
}

.slider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.1s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Удаляем старые стили для значений над ползунками */
.slider-value {
    display: none;
}

.hidden-sliders {
    display: none;
}

/* ===== TARIFFS STYLES - ОБНОВЛЕННЫЕ ===== */
.tariffs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.tariff-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

/* Free тариф - компактный */
.tariff-card[data-tariff="free"] {
    min-height: auto;
    padding-bottom: 20px;
}

/* Expert тариф - с дополнительным контентом */
.tariff-card[data-tariff="expert"] {
    min-height: auto;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.tariff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.tariff-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin-right: 10px;
}

/* Кнопка оплаты Expert - УЛУЧШЕННАЯ */
.premium-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff8e8e, #ff6b6b);
}

.premium-button:active {
    transform: translateY(-1px);
}

/* Tooltips - РАСШИРЕННЫЕ */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-icon {
    width: 20px;
    height: 20px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.tooltip-text {
    visibility: hidden;
    width: 300px;
    background: #333;
    color: white;
    text-align: left;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Badges */
.free-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.expert-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Expert Description Box */
.expert-description-box {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
    border-radius: 10px;
    text-align: center;
}

.expert-description {
    font-size: 0.9rem;
    color: #e65100;
    line-height: 1.4;
}

.expert-description strong {
    color: #bf360c;
}

/* Tariff Calculate Buttons */
.tariff-calculate-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.tariff-calculate-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.tariff-calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.tariff-calculate-btn:hover::before {
    left: 100%;
}

.calculate-free {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.calculate-expert {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.tariff-calculate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tariff-calculate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tariff-limits {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tariff-price {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Tariff Availability */
.tariff-card.unavailable {
    opacity: 0.7;
}

.tariff-card.available {
    border: 2px solid #28a745;
}

/* ===== МОДАЛЬНОЕ ОКНО ОПЛАТЫ - УЛУЧШЕННОЕ ===== */
.payment-modal {
    max-width: 600px;
}

.payment-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-notice p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option.active {
    border-color: #28a745;
    background: #f8fff9;
}

.payment-option:hover {
    border-color: #667eea;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.option-header h4 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.discount-badge {
    background: #ffc107;
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.option-features {
    text-align: left;
}

.feature {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Форма данных пользователя */
.user-data-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.user-data-form h4 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.agreement-checkbox input[type="checkbox"] {
    margin-top: 3px;
}

.agreement-checkbox label {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.card-info {
    margin-top: 15px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 2px dashed #ddd;
    margin-bottom: 15px;
}

.card-instructions {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

.card-instructions p {
    margin-bottom: 8px;
}

.card-instructions strong {
    color: #333;
}

/* ===== CONTROLS ===== */
.controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.control-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

.control-btn:hover:not(:disabled) {
    background: #e9ecef;
    transform: translateY(-2px);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalAppear 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.modal-content {
    text-align: left;
}

.instruction-section, .about-section, .contact-section {
    margin-bottom: 25px;
}

.instruction-section h4, .about-section h4, .contact-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.instruction-steps {
    padding-left: 20px;
    margin-bottom: 15px;
}

.instruction-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.parameters-info {
    display: grid;
    gap: 15px;
}

.parameter-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.parameter-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.parameter-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.prediction-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.prediction-info h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
}

.prediction-result {
    text-align: left;
    margin: 25px 0;
}

.prediction-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s;
}

.prediction-item:hover {
    transform: translateX(5px);
}

.prediction-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.prediction-item.expert-only {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.prediction-item.ml-info {
    border-left-color: #28a745;
    background: #f0fff4;
}

.prediction-ai-info {
    margin-top: 15px;
    padding: 10px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-size: 0.9rem;
    color: #555;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-primary {
    background: #28a745;
    color: white;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА "МОИ ПРОГНОЗЫ" ===== */
.predictions-modal {
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
}

.predictions-modal h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.loading-predictions {
    text-align: center;
    padding: 40px;
}

.loading-predictions .loading {
    margin: 0 auto 15px;
}

/* Стили для таблицы прогнозов - ОПТИМИЗИРОВАНЫ ДЛЯ МОБИЛЬНЫХ */
.predictions-table-container {
    overflow-x: auto;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

.predictions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 600px;
}

.predictions-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.predictions-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.prediction-row:hover {
    background: #f8f9fa;
}

.prediction-date {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    min-width: 120px;
}

.prediction-teams {
    min-width: 200px;
}

.team-names {
    font-weight: 500;
    line-height: 1.4;
}

.team-names strong {
    display: inline;
    margin: 0 5px;
    font-size: 14px;
}

.prediction-type {
    min-width: 150px;
}

.prediction-main {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}

.prediction-goals, .prediction-score {
    min-width: 80px;
    text-align: center;
}

.prediction-extra {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
    line-height: 1.2;
}

.prediction-tariff {
    text-align: center;
    min-width: 80px;
}

.tariff-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.tariff-badge.free {
    background: #28a745;
    color: white;
}

.tariff-badge.expert {
    background: #dc3545;
    color: white;
}

/* Пагинация */
.predictions-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 16px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    color: white;
    text-align: center;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.responsibility-info {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
}

.responsibility-info p {
    margin-bottom: 15px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-bottom a {
    color: white;
    text-decoration: underline;
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-left: 4px solid #667eea;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-content {
    flex: 1;
    margin-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #333;
}

/* ===== RESPONSIVE DESIGN - УЛУЧШЕННАЯ МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text p {
        font-size: 0.9rem;
    }
    
    .user-menu {
        justify-content: center;
        width: 100%;
    }
    
    .user-info {
        align-items: center;
        margin-bottom: 10px;
    }
    
    .auth-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-item {
        flex: 1 0 50%;
    }
    
    .nav-link {
        padding: 12px 5px;
        font-size: 0.8rem;
    }
    
    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .compact-team-selection {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }
    
    .selection-column {
        width: 100%;
    }
    
    .vs-separator {
        padding: 10px 0;
    }
    
    .team-selection-content {
        flex-direction: column;
        height: 500px;
    }
    
    .countries-list, .teams-list {
        flex: none;
        height: 200px;
    }
    
    .countries-scroll, .teams-scroll {
        padding: 8px;
    }
    
    .country-item, .team-item {
        padding: 10px 12px;
        margin-bottom: 3px;
        font-size: 0.9rem;
    }
    
    .sliders-container {
        gap: 5px;
        padding: 0 5px;
    }
    
    .slider-wrapper {
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .slider-label-right {
        font-size: 0.75rem;
        min-width: 110px;
    }
    
    .slider-value-display {
        font-size: 11px;
        min-width: 35px;
        padding: 3px 6px;
    }
    
    .tariffs {
        flex-direction: column;
        gap: 15px;
    }
    
    .tariff-card {
        min-width: 100%;
        padding: 20px 15px;
    }
    
    .tariff-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .premium-button {
        width: 100%;
        margin-top: 10px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .tooltip-text {
        width: 280px;
        font-size: 12px;
        padding: 12px;
    }
    
    .controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .control-btn {
        width: 100%;
        padding: 10px 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    /* Улучшенная таблица для мобильных */
    .predictions-table {
        font-size: 12px;
        min-width: 500px;
    }
    
    .predictions-table th,
    .predictions-table td {
        padding: 8px 6px;
    }
    
    .prediction-date {
        font-size: 11px;
        min-width: 100px;
    }
    
    .prediction-teams {
        min-width: 150px;
    }
    
    .team-names strong {
        font-size: 12px;
    }
    
    .prediction-type {
        min-width: 120px;
    }
    
    .prediction-main {
        font-size: 12px;
    }
    
    .prediction-goals, .prediction-score {
        min-width: 60px;
    }
    
    .prediction-extra {
        font-size: 10px;
    }
    
    .predictions-pagination {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .pagination-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .modal {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .prediction-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .prediction-item strong {
        font-size: 0.9rem;
    }
    
    .payment-options {
        gap: 10px;
    }
    
    .option-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .user-data-form {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .agreement-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .nav-item {
        flex: 1 0 100%;
    }
    
    .nav-link {
        padding: 10px 5px;
    }
    
    .nav-text {
        font-size: 0.75rem;
    }
    
    .tariff-calculate-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .predictions-table-container {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
    
    .predictions-table {
        min-width: 450px;
        font-size: 11px;
    }
    
    .predictions-table th,
    .predictions-table td {
        padding: 6px 4px;
    }
    
    .prediction-date {
        font-size: 10px;
        min-width: 90px;
    }
    
    .prediction-teams {
        min-width: 130px;
    }
    
    .prediction-type {
        min-width: 100px;
    }
    
    .prediction-main {
        font-size: 11px;
    }
    
    .prediction-goals, .prediction-score {
        min-width: 50px;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .login-btn, .register-btn, .logout-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .slider-handle {
        width: 16px;
        height: 16px;
    }
    
    .slider-track {
        height: 5px;
    }
    
    .slider-value-display {
        font-size: 10px;
        min-width: 32px;
        padding: 2px 5px;
    }
    
    .tooltip-text {
        width: 250px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Ховер эффекты только для десктопа */
@media (hover: hover) and (pointer: fine) {
    .prediction-row:hover {
        background: #f8f9fa;
    }
    
    .tariff-card:hover {
        transform: translateY(-5px);
    }
    
    .control-btn:hover:not(:disabled) {
        background: #e9ecef;
        transform: translateY(-2px);
    }
}

/* Улучшенная поддержка сенсорных устройств */
@media (pointer: coarse) {
    .tariff-calculate-btn,
    .control-btn,
    .modal-btn {
        min-height: 44px;
    }
    
    .nav-link {
        padding: 16px 10px;
    }
    
    .country-item, .team-item {
        padding: 15px 20px;
    }
    
    .slider-handle {
        width: 24px;
        height: 24px;
    }
    
    .premium-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* Обновленные стили для системы прогнозов */
.all-predictions-container {
    margin: 20px 0;
}

.prediction-item {
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.prediction-item.recommended {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
    transform: scale(1.02);
}

.prediction-text {
    font-size: 18px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.expert-prediction-info {
    margin-top: 25px;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
}

.expert-info-item {
    margin: 12px 0;
    font-size: 16px;
    color: #1565C0;
    padding: 8px 0;
    border-bottom: 1px solid #bbdefb;
}

.expert-info-item:last-child {
    border-bottom: none;
}

.expert-info-item strong {
    color: #0D47A1;
    font-weight: 600;
}

/* Анимация появления */
.prediction-item {
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .prediction-text {
        font-size: 16px;
    }
    
    .expert-info-item {
        font-size: 14px;
    }
    
    .recommended-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
}
/* Стили для пояснения в Free тарифе */
.tariff-explanation-box {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #2196F3;
    border-radius: 10px;
    text-align: left;
}

.explanation-content {
    font-size: 0.85rem;
    color: #1565C0;
    line-height: 1.4;
}

.explanation-content p {
    margin-bottom: 10px;
}

.explanation-content strong {
    color: #0D47A1;
}

.comparison-notice {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.comparison-notice p {
    margin-bottom: 8px;
}
/* Стили для модального окна прогноза */
.prediction-free-view,
.prediction-expert-view {
    display: none;
}

.prediction-free-view.active,
.prediction-expert-view.active {
    display: block;
}

/* Стили для Expert прогноза в модальном окне */
.prediction-expert-view {
    margin: 20px 0;
}

.main-prediction-expert {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    border: 2px solid #4CAF50;
    border-radius: 12px;
    position: relative;
}

.prediction-type-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.prediction-text-expert {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 8px;
    line-height: 1.4;
}

.additional-predictions {
    display: grid;
    gap: 12px;
    margin-top: 15px;
}

.prediction-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.detail-label {
    font-weight: 600;
    color: #1565C0;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 700;
    color: #e65100;
    font-size: 0.9rem;
}

/* Стили для Free прогноза в модальном окне */
.prediction-free-view .prediction-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    text-align: center;
    margin-bottom: 15px;
}

.prediction-free-view .prediction-item strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.prediction-free-view .prediction-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .main-prediction-expert {
        padding: 15px;
    }
    
    .prediction-text-expert {
        font-size: 1.1rem;
    }
    
    .prediction-detail {
        padding: 10px 12px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .detail-label,
    .detail-value {
        font-size: 0.85rem;
    }
    
    .prediction-type-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}
/* ===== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ КНОПОК РАСЧЕТА В ВЕРХНЕЙ ЧАСТИ ===== */
.tariff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

/* Контейнер для кнопки расчета в заголовке */
.tariff-calculate-header {
    margin-left: auto;
    margin-right: 15px;
}

/* Кнопки расчета в заголовке */
.tariff-calculate-btn-header {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.tariff-calculate-btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.tariff-calculate-btn-header:hover::before {
    left: 100%;
}

.calculate-free-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.calculate-expert-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.tariff-calculate-btn-header:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tariff-calculate-btn-header:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Скрываем старые кнопки внизу */
.tariff-calculate-container {
    display: none;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .tariff-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tariff-calculate-header {
        margin: 0;
        width: 100%;
    }
    
    .tariff-calculate-btn-header {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tariff-calculate-btn-header {
        padding: 12px 15px;
        font-size: 13px;
    }
}
/* Стили для кнопки оплаты в навигации */
#buyExpertNavBtn .nav-link {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 8px;
    margin: 5px;
    border-bottom: none !important;
}

#buyExpertNavBtn .nav-link:hover {
    background: linear-gradient(135deg, #ff8e8e, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

#buyExpertNavBtn .nav-icon {
    font-size: 1.3rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #buyExpertNavBtn .nav-link {
        margin: 3px;
        padding: 12px 8px;
    }
    
    #buyExpertNavBtn .nav-text {
        font-size: 0.8rem;
    }
}
/* Добавьте это в style.css */
#paymentModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#paymentModal.active {
    display: flex !important;
}

.payment-modal {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalAppear 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Отладочные стили - временно */
.debug-border {
    border: 3px solid red !important;
}

/* Убедимся, что модальное окно поверх всего */
.modal-overlay {
    z-index: 10000;
}

.modal {
    z-index: 10001;
}
/* Скрыть только кнопки "Отмена", "Закрыть" но оставить крестики */
button[class*="close-"]:not(.modal-close),
.modal-btn.btn-secondary {
    display: none !important;
}

/* Или более конкретный вариант: */
.close-payment-modal,
.close-register-modal, 
.close-login-modal,
.close-prediction-modal,
.close-predictions-modal,
.close-instructions-modal,
.close-about-modal,
.close-contacts-modal {
    display: none !important;
}

/* Убедимся что крестики остаются видимыми */
.modal-close {
    display: flex !important;
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}
/* Стили для крестика */
.modal-close {
    display: flex !important;
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px; /* Увеличили размер */
    cursor: pointer;
    color: #1a365d; /* Темно-синий цвет */
    width: 40px; /* Увеличили размер области */
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 1002;
}

.modal-close:hover {
    color: #2d3748; /* Еще темнее при наведении */
    background: rgba(26, 54, 93, 0.1); /* Легкий фон при наведении */
    transform: scale(1.1); /* Легкое увеличение */
}

.modal-close:active {
    transform: scale(0.95); /* Легкое нажатие */
}

/* Убедимся что крестик поверх всего */
.modal {
    position: relative;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 12px;
        right: 15px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}
/* Сделать все модальные окна широкими */
.modal {
    max-width: 900px !important;
    width: 90% !important;
}

/* Специфичные стили для разных модальных окон */
.payment-modal {
    max-width: 900px !important;
}

.predictions-modal {
    max-width: 900px !important; /* Уже было */
}

.team-selection-modal {
    max-width: 900px !important;
}

/* Адаптивность */
@media (max-width: 1000px) {
    .modal {
        max-width: 95% !important;
        width: 95% !important;
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .modal {
        max-width: 98% !important;
        width: 98% !important;
        margin: 5px;
        padding: 20px 15px;
    }
}

/* Улучшим отображение контента в широких окнах */
.modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.team-selection-content {
    height: 500px; /* Увеличим высоту для широкого окна */
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Для окна оплаты - улучшим расположение элементов */
.user-data-form,
.payment-details {
    margin: 25px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Для окна выбора команд - улучшим сетку */
.countries-list,
.teams-list {
    min-height: 400px;
}

.countries-scroll,
.teams-scroll {
    height: 350px;
}
/* Стили для окна пользовательского соглашения */
.terms-modal {
    max-width: 800px !important;
    max-height: 90vh;
}

.terms-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.terms-section p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.terms-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

.terms-date {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #667eea;
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Стили для ссылки в чекбоксе */
.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
    color: #5a6fd8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .terms-modal {
        max-width: 95% !important;
    }
    
    .terms-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .terms-section h4 {
        font-size: 1rem;
    }
}
.logo-icon {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.logo-image {
    width: 270px;
    height: 270px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none !important;
}

/* Убираем градиентный фон */
.logo-icon::before,
.logo-icon::after {
    display: none !important;
}
.football-dot {
    font-size: 0.6em;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
    transform: translateY(-2px);
}

.logo-text h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .football-dot {
        font-size: 0.5em;
        margin: 0 1px;
    }
}
.football-dot {
    font-size: 0.3em;
    vertical-align: middle;
    margin: 0 1px;
    display: inline-block;
    transform: translateY(-1px);
}

.logo-text h1 {
    white-space: nowrap;
    display: inline-block;
}

/* Адаптивность */
@media (max-width: 768px) {
    .football-dot {
        font-size: 0.25em;
        margin: 0 0.5px;
    }
}
.nav-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

.modal-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-logo {
        width: 20px;
        height: 20px;
    }
    
    .modal-logo {
        width: 24px;
        height: 24px;
    }
}
.football-dot {
    font-size: 0.4em;
    vertical-align: sub; /* Опускаем мяч ниже */
    margin: 0 1px;
    display: inline-block;
    transform: translateY(-3px); /* Дополнительно опускаем */
}

.logo-text h1 {
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .football-dot {
        font-size: 0.3em;
        transform: translateY(-2px);
    }
}
/* Мобильная версия - логотип влево, название справа */
@media (max-width: 768px) {
    .header-top {
        position: relative;
        padding: 15px !important;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .logo {
        flex-direction: row;
        align-items: center;
        width: auto;
        margin-bottom: 0;
    }
    
    .logo-icon {
        margin-right: 10px;
        transform: translate(-5px, 5px); /* Сдвигаем логотип влево и вниз */
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        text-align: right;
        margin-left: 0;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
        margin-bottom: 2px;
        text-align: right;
    }
    
    .logo-text p {
        font-size: 0.7rem;
        text-align: right;
        margin: 0;
        display: none; /* Скрываем описание в мобильной чтобы не мешало */
    }
    
    .user-menu {
        position: absolute;
        top: 15px;
        right: 15px;
        width: auto;
        margin-top: 0;
    }
    
    /* Положение мяча в мобильной */
    .football-dot {
        font-size: 0.25em;
        transform: translateY(-1px);
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .logo-icon {
        transform: translate(-3px, 3px);
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .user-menu {
        top: 10px;
        right: 10px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .login-btn, .register-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
/* Мобильная версия - горизонтальное меню с равномерным распределением */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        justify-content: space-between; /* Равномерное распределение */
        flex-wrap: nowrap;
        overflow-x: hidden; /* Убираем скролл */
        padding: 8px 5px;
        gap: 2px;
    }
    
    .nav-item {
        flex: 1; /* Все кнопки одинаковой ширины */
        text-align: center;
        min-width: 0; /* Позволяет сжиматься */
    }
    
    .nav-link {
        padding: 10px 4px;
        flex-direction: column;
        align-items: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        min-height: 50px;
        display: flex;
        justify-content: center;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    
    .nav-icon {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .nav-text {
        font-size: 0.7rem;
        line-height: 1.1;
        display: block !important;
        font-weight: 500;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .nav-menu {
        padding: 6px 3px;
        gap: 1px;
    }
    
    .nav-link {
        padding: 8px 2px;
        min-height: 45px;
    }
    
    .nav-icon {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .nav-text {
        font-size: 0.65rem;
    }
}

/* Для средних экранов */
@media (max-width: 600px) and (min-width: 481px) {
    .nav-link {
        padding: 10px 3px;
    }
    
    .nav-text {
        font-size: 0.68rem;
    }
}
/* Мобильная версия - уменьшаем шрифты в модальных окнах */
@media (max-width: 768px) {
    /* Общие стили для всех модальных окон */
    .modal {
        padding: 20px 15px;
    }
    
    .modal h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .modal h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    /* Инструкция */
    .instruction-steps {
        font-size: 0.9rem;
    }
    
    .instruction-steps li {
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .parameters-info {
        gap: 10px;
    }
    
    .parameter-item {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* О проекте */
    .about-section {
        margin-bottom: 20px;
    }
    
    .about-section p, 
    .about-section li {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-section ul {
        padding-left: 18px;
    }
    
    /* Контакты */
    .contact-section {
        margin-bottom: 20px;
    }
    
    .contact-section p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .contact-section a {
        font-size: 0.9rem;
    }
    
    /* Оплата */
    .payment-modal {
        padding: 15px 12px;
    }
    
    .payment-options {
        gap: 12px;
    }
    
    .payment-option {
        padding: 15px;
    }
    
    .option-header h4 {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.2rem;
    }
    
    .price span {
        font-size: 0.8rem;
    }
    
    .feature {
        font-size: 0.85rem;
    }
    
    .user-data-form,
    .payment-details {
        padding: 15px;
        margin: 15px 0;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    
    .agreement-checkbox label {
        font-size: 0.8rem;
    }
    
    .card-instructions {
        font-size: 0.8rem;
    }
    
    /* Кнопки в модальных окнах */
    .modal-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .modal {
        padding: 15px 10px;
    }
    
    .modal h3 {
        font-size: 1.2rem;
    }
    
    .modal h4 {
        font-size: 1rem;
    }
    
    .instruction-steps,
    .about-section p,
    .about-section li,
    .contact-section p {
        font-size: 0.85rem;
    }
    
    .payment-option {
        padding: 12px;
    }
    
    .option-header h4 {
        font-size: 0.95rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .feature {
        font-size: 0.8rem;
    }
    
    .modal-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
/* Стили для кнопки "Назад" */
.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 14px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-button:hover {
    background: #5a6268;
}

/* Анимации для плавного перехода */
.countries-list, .teams-list {
    transition: opacity 0.3s ease;
}

.teams-list {
    display: none;
}

.teams-list.active {
    display: block;
}

.countries-list.hidden {
    display: none;
}

/* Улучшенные стили для заголовков */
#teamsListTitle {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Стили для выбранной страны */
.country-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    position: relative;
}

.country-item.active::after {
    content: '✓';
    position: absolute;
    right: 15px;
    font-weight: bold;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .back-button {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 16px;
    }
    
    #teamsListTitle {
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
}
.country-flag {
    font-size: 1.2em;
    margin-right: 10px;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.country-item:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.team-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

.team-item:hover {
    background: #f8f9fa;
    border-color: #28a745;
}

.team-item.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}
/* Стили для нового процесса выбора команд */
.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.back-button:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.countries-list, .teams-list {
    transition: all 0.3s ease-in-out;
}

.teams-list {
    display: none;
}

.teams-list.active {
    display: block;
}

.countries-list.hidden {
    display: none;
}

/* Улучшенные стили для заголовков */
#teamsListTitle {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Стили для выбранной страны */
.country-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    position: relative;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.country-item.active::after {
    content: '✓';
    position: absolute;
    right: 15px;
    font-weight: bold;
    font-size: 1.1em;
}

/* Анимация появления команд */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.teams-list.active {
    animation: slideInFromRight 0.3s ease-out;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .back-button {
        padding: 15px;
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    #teamsListTitle {
        font-size: 1.1rem;
        padding: 12px 8px;
        text-align: center;
    }
    
    .country-item, .team-item {
        padding: 15px 12px;
        margin-bottom: 8px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .back-button {
        padding: 14px 12px;
        font-size: 15px;
    }
    
    #teamsListTitle {
        font-size: 1rem;
    }
    
    .country-item, .team-item {
        padding: 14px 10px;
        font-size: 15px;
    }
}
.sliders-explanation {
    margin-bottom: 25px;
}

.slider-impact {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.impact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    justify-content: space-between;
}

.impact-low, .impact-high {
    font-weight: 600;
    min-width: 120px;
}

.impact-low { color: #6c757d; }
.impact-high { color: #28a745; }

.impact-arrow {
    margin: 0 10px;
    color: #6c757d;
}

.impact-desc {
    color: #495057;
    font-size: 0.9em;
}

.prediction-accuracy {
    margin-bottom: 25px;
}

.accuracy-timeline {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.timeline-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    margin-right: 15px;
}

.timeline-desc {
    flex: 1;
    font-size: 0.9em;
}

.accuracy-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.tariff-comparison {
    margin-bottom: 20px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.comparison-col {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.free-col {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.expert-col {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
}

.tariff-name {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.comparison-col .feature {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.ai-explanation {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-header h4 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
}

.contact-icon {
    font-size: 1.3em;
    margin-right: 12px;
    min-width: 30px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.85em;
    margin-bottom: 2px;
}

.contact-link, .contact-text {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
}

.contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 15px 0;
}

.social-item {
    flex: 1;
    max-width: 140px;
}

.social-link-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    padding: 15px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link-contact:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
}

.social-link-contact span {
    color: white;
    font-size: 0.9em;
    text-align: center;
    font-weight: 500;
}

.contact-note {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.contact-note p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9em;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-section {
        padding: 15px;
        margin: 10px 0;
    }
    
    .social-links-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .social-item {
        max-width: 200px;
        width: 100%;
    }
    
    .contact-item {
        padding: 10px 12px;
    }
}
/* Стили для управления прогнозами */
.predictions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.predictions-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.select-all-checkbox:hover {
    background: #e9ecef;
}

.select-all-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.delete-selected-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-selected-btn:not(:disabled):hover {
    background: #c82333;
}

.delete-selected-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Стили для таблицы с чекбоксами */
.checkbox-column {
    width: 40px;
    text-align: center;
}

.prediction-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.prediction-row {
    transition: background-color 0.2s;
}

.prediction-row:hover {
    background: #f8f9fa;
}

.prediction-row.selected {
    background: #fff3cd;
}

/* Стили для индикатора выбора */
#selectAllPredictions:indeterminate {
    background: #007cba;
    border-color: #007cba;
}

/* Адаптивность */
@media (max-width: 768px) {
    .predictions-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .predictions-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .checkbox-column {
        width: 30px;
    }
}
/* Обновленные стили для модального окна "Мои прогнозы" */
.predictions-modal {
    max-width: 1200px !important; /* Увеличиваем на 30% */
    width: 95% !important;
}

/* На мобильных - на всю ширину */
@media (max-width: 768px) {
    .predictions-modal {
        max-width: 98% !important;
        width: 98% !important;
        margin: 1%;
        padding: 15px 10px;
    }
}

/* Выравнивание заголовков по центру */
.predictions-table th {
    text-align: center !important;
    vertical-align: middle;
}

/* Выравнивание содержимого ячеек по центру */
.predictions-table td {
    text-align: center;
    vertical-align: middle;
}

/* Для ячеек с командами - выравнивание по центру */
.predictions-table .team-names {
    text-align: center;
}

/* Подсветка выигравшей команды */
.team-winner {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
}

.team-draw {
    background: linear-gradient(135deg, #FF9800, #F57C00) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
}

.team-loser {
    background: linear-gradient(135deg, #f44336, #d32f2f) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
}

/* Перемещаем управление вниз */
.predictions-management {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

/* Адаптивность для управления */
@media (max-width: 768px) {
    .predictions-management {
        flex-direction: column;
        text-align: center;
    }
    
    .select-all-checkbox {
        order: 2;
    }
    
    .delete-selected-btn {
        order: 1;
        width: 100%;
        max-width: 250px;
    }
}

/* Убираем старый заголовок с информацией о прогнозах */
.predictions-header,
.predictions-stats {
    display: none !important;
}

/* Улучшаем отображение таблицы на мобильных */
@media (max-width: 768px) {
    .predictions-table {
        font-size: 12px;
    }
    
    .predictions-table th,
    .predictions-table td {
        padding: 8px 4px;
    }
    
    .team-winner,
    .team-draw,
    .team-loser {
        padding: 2px 4px;
        font-size: 11px;
    }
}
/* Обновленные стили для подсветки команд */
.team-winner {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.team-draw {
    background: linear-gradient(135deg, #FF9800, #F57C00) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.team-loser {
    background: linear-gradient(135deg, #f44336, #d32f2f) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.3);
}

/* Стили для обычных (неподсвеченных) команд */
.team-name {
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin: 2px;
    transition: all 0.3s ease;
}

/* Улучшаем отображение на мобильных */
@media (max-width: 768px) {
    .team-winner,
    .team-draw,
    .team-loser,
    .team-name {
        padding: 3px 6px;
        font-size: 11px;
        margin: 1px;
    }
    
    .team-names {
        line-height: 1.8;
    }
}

/* Стили для цветов шрифта команд */
.team-red-bold {
    color: #dc3545 !important; /* Красный цвет */
    font-weight: bold !important; /* Жирный шрифт */
}

.team-red-normal {
    color: #dc3545 !important; /* Красный цвет */
    font-weight: normal !important; /* Обычный шрифт */
}

.team-black {
    color: #333 !important; /* Черный цвет */
    font-weight: normal; /* Обычный шрифт */
}

/* Улучшаем отображение названий команд */
.team-names {
    font-weight: 500;
}

.team-name {
    transition: color 0.3s ease;
    display: inline-block;
    margin: 0 2px;
}
/* Стили для улучшенной формы регистрации */
.input-hint {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.input-error {
    border-color: #ff4444 !important;
    background-color: #fff8f8 !important;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    margin: 10px 0;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin: 10px 0;
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.forecast-guide {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.guide-details {
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.guide-summary {
    padding: 18px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.guide-summary::-webkit-details-marker {
    display: none;
}

.guide-summary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.guide-details[open] .arrow {
    transform: rotate(180deg);
}

.guide-content {
    padding: 0;
}

.guide-section {
    padding: 24px;
    border-bottom: 1px solid #f0f2f5;
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1a202c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-section h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #2d3748;
    font-weight: 600;
}

.section-intro {
    margin: 0 0 20px 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

/* Стили для ползунков */
.slider-explanation {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.slider-example {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.example-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
}

.example-direction {
    font-weight: 700;
    color: #1e40af;
    font-size: 14px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.example-details {
    color: #4a5568;
    font-size: 14px;
}

.example-result {
    margin-top: 6px;
    padding: 6px 10px;
    background: #edf2f7;
    border-radius: 4px;
    font-size: 13px;
    color: #2d3748;
}

.parameters-details {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.param-list {
    display: grid;
    gap: 12px;
}

.param-item {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #48bb78;
    font-size: 13px;
    line-height: 1.5;
}

/* Стили для тарифов */
.tariff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

.tariff-column {
    padding: 20px;
    border-radius: 8px;
    border: 2px solid;
}

.tariff-column.free {
    border-color: #cbd5e0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.tariff-column.expert {
    border-color: #68d391;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    position: relative;
}

.tariff-header {
    margin-bottom: 16px;
    text-align: center;
}

.tariff-name {
    font-weight: 700;
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 4px;
}

.tariff-column.expert .tariff-name {
    color: #276749;
}

.tariff-subtitle {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.tariff-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.4;
    padding-left: 8px;
}

/* Стили для блока различий */
.difference-info {
    background: #fffaf0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ed8936;
}

.difference-info p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #744210;
    line-height: 1.6;
}

.difference-reasons {
    margin-bottom: 20px;
}

.reason-item {
    margin-bottom: 16px;
    padding: 12px;
    background: #feebc8;
    border-radius: 6px;
}

.reason-item strong {
    display: block;
    margin-bottom: 6px;
    color: #dd6b20;
    font-size: 14px;
}

.reason-item p {
    margin: 0;
    font-size: 13px;
    color: #744210;
}

.recommendation {
    padding: 16px;
    background: #c6f6d5;
    border-radius: 6px;
    border-left: 4px solid #48bb78;
    font-size: 14px;
    color: #22543d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .guide-section {
        padding: 16px;
    }
    
    .tariff-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .example-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .example-direction {
        text-align: left;
    }
    
    .guide-summary {
        padding: 16px 20px;
        font-size: 15px;
    }
}
css
.test-status {
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-weight: bold;
}

.test-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.test-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.financial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.financial-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e2e4e7;
}

.financial-ratios {
    grid-column: 1 / -1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.probability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.probability-item.large {
    padding: 20px;
    text-align: center;
}

.prob-value {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.final-prediction.large {
    padding: 30px;
    margin: 20px 0;
}

.normalization-info, .structure-check, .probability-check {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    border-left: 4px solid #17a2b8;
}

.test-details pre {
    background: #1d2327;
    color: #f0f0f1;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
}
/* Стили для интерактивного промо-блока */
.expert-promo-interactive {
    margin: 25px 0;
}

.promo-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e8e8e8;
}

.promo-header {
    text-align: center;
    margin-bottom: 25px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.badge-icon {
    font-size: 1.1rem;
}

.promo-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Переключение вкладок */
.comparison-toggle {
    display: flex;
    background: #f7fafc;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.toggle-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.toggle-btn:hover:not(.active) {
    color: #475569;
}

/* Контент вкладок */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Вкладка стоимости */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.price-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
}

.price-card.popular {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8faff, #f0f4ff);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 15px;
}

.card-header h4 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 1.1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.period {
    font-size: 0.8rem;
    color: #6b7280;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Вкладка преимуществ */
.feature-comparison {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-item:last-child {
    border-bottom: none;
}

.comparison-item .label {
    font-weight: 500;
    color: #374151;
}

.free-value {
    background: #e5e7eb;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    min-width: 80px;
}

.expert-value {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    min-width: 120px;
}

/* Вкладка примеров */
.examples-container {
    display: grid;
    gap: 15px;
}

.example-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.example-badge {
    position: absolute;
    top: -10px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.free-badge {
    background: #6b7280;
    color: white;
}

.expert-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.match-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.team {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.vs {
    color: #6b7280;
    font-weight: 500;
}

.prediction-content {
    text-align: center;
}

.prediction-main {
    margin-bottom: 15px;
}

.prediction-text {
    color: #059669;
    font-weight: 600;
}

.prediction-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.detail {
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.detail span {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.detail strong {
    color: #374151;
    font-size: 0.9rem;
}

/* Футер с кнопкой */
.promo-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .btn-arrow {
    transform: translateX(3px);
}

.guarantee {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Адаптивность */
@media (max-width: 768px) {
    .promo-card {
        padding: 20px 15px;
    }
    
    .comparison-toggle {
        flex-direction: column;
        gap: 4px;
    }
    
    .comparison-item {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .prediction-details {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .promo-header h3 {
        font-size: 1.2rem;
    }
    
    .price-card {
        padding: 15px;
    }
}
/* Стили для нового двойного выбора команд */
.team-selection-modal {
    max-width: 1000px !important;
    width: 95% !important;
}

.dual-selection-layout {
    display: flex;
    gap: 15px;
    height: 500px;
    margin: 20px 0;
}

.selection-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.side-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid #5a6fd8;
}

.side-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.side-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.countries-panel {
    width: 160px;
    border-right: 2px solid #f0f0f0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.countries-panel h5 {
    margin: 0;
    padding: 15px;
    background: #e9ecef;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.countries-list-compact {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.country-item-compact {
    padding: 12px 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
}

.country-item-compact:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateX(3px);
}

.country-item-compact.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #5a6fd8;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.teams-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.teams-panel h5 {
    margin: 0;
    padding: 15px;
    background: #e9ecef;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.teams-list-compact {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.team-item-compact {
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    font-size: 0.85rem;
    background: white;
}

.team-item-compact:hover {
    border-color: #28a745;
    background: #f8fff9;
    transform: translateX(2px);
}

.team-item-compact.active {
    background: #28a745;
    color: white;
    border-color: #23923d;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
}

.vs-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.no-teams {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    font-size: 0.9rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .team-selection-modal {
        max-width: 98% !important;
        width: 98% !important;
        margin: 1%;
        padding: 15px 10px;
    }
    
    .dual-selection-layout {
        flex-direction: column;
        height: auto;
        max-height: 70vh;
        gap: 10px;
    }
    
    .selection-side {
        min-height: 300px;
    }
    
    .vs-divider {
        width: 100%;
        padding: 10px 0;
    }
    
    .vs-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .side-content {
        flex-direction: column;
    }
    
    .countries-panel {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        max-height: 150px;
    }
    
    .countries-list-compact {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 8px;
    }
    
    .country-item-compact {
        flex-shrink: 0;
        min-width: 120px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .teams-panel {
        flex: 1;
    }
    
    .countries-panel h5,
    .teams-panel h5 {
        padding: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .dual-selection-layout {
        max-height: 60vh;
    }
    
    .selection-side {
        min-height: 250px;
    }
    
    .countries-panel {
        max-height: 120px;
    }
    
    .country-item-compact {
        padding: 10px 8px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .team-item-compact {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .side-header {
        padding: 12px;
    }
    
    .side-header h4 {
        font-size: 1rem;
    }
    
    .vs-badge {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Полосы прокрутки */
.countries-list-compact::-webkit-scrollbar,
.teams-list-compact::-webkit-scrollbar {
    width: 6px;
}

.countries-list-compact::-webkit-scrollbar-track,
.teams-list-compact::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.countries-list-compact::-webkit-scrollbar-thumb,
.teams-list-compact::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.countries-list-compact::-webkit-scrollbar-thumb:hover,
.teams-list-compact::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
/* Стили для сетки команд */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.team-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
    min-height: 60px;
    font-size: 14px;
    font-weight: 500;
}

.team-grid-item:hover {
    border-color: #667eea;
    background: #f8f9fa;
    transform: translateY(-2px);
}

.team-grid-item.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Для 16 команд - сетка 4x4 */
.teams-grid.compact-16 {
    grid-template-columns: repeat(4, 1fr);
}

/* Для 20 команд - сетка 4x5 */
.teams-grid.compact-20 {
    grid-template-columns: repeat(5, 1fr);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }
    
    .team-grid-item {
        padding: 10px 6px;
        font-size: 13px;
        min-height: 50px;
    }
    
    .teams-grid.compact-16,
    .teams-grid.compact-20 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .teams-grid.compact-16,
    .teams-grid.compact-20 {
        grid-template-columns: 1fr;
    }
    
    .team-grid-item {
        padding: 8px 4px;
        font-size: 12px;
        min-height: 45px;
    }
    /* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification.error {
    background: #f44336;
}

.notification.warning {
    background: #ff9800;
}

.notification.success {
    background: #4CAF50;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

/* Адаптивность главного контента */
@media (max-width: 1200px) {
    .main-content {
        padding-right: 0;
    }
    
    .today-matches-sidebar {
        position: static;
        order: 3;
        margin-top: 40px;
    }
}
}