* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        #4A6FA5 0%,
        #3A5B95 20%,
        #2E4B85 40%,
        #243C75 60%,
        #1A2D65 80%,
        #101E55 100%
    );
    font-family: 'Arial', sans-serif;
    position: relative;
}

/* Кнопка назад в верхнем левом углу */
/* .back-button-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #333;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #e74c3c;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
} */

/* Выбор языка в верхнем углу */
.language-selector {
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 1000;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 5px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #333;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 115px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #333;
    font-size: 14px;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.5);
}

.flag-icon {
    border-radius: 2px;
}

/* Основной фон */
.background-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Контейнер неба */
.sky-container {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60%;
    z-index: 2;
}

/* Логотип */
.logo-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.logo {
    height: 100px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Облака */
.cloud {
    position: absolute;
    background: radial-gradient(
        ellipse 150px 80px,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.85) 25%,
        rgba(240,245,255,0.7) 50%,
        rgba(220,230,255,0.4) 75%,
        transparent 100%
    );
    border-radius: 100px;
    animation: cloudDrift 25s linear infinite;
    filter: blur(2px);
    box-shadow: 
        inset 0 -15px 30px rgba(200,220,255,0.3),
        0 8px 25px rgba(100,150,200,0.2);
}

.cloud::before {
    content: '';
    position: absolute;
    background: radial-gradient(
        ellipse 100px 65px,
        rgba(255,255,255,0.9) 0%,
        rgba(248,252,255,0.8) 30%,
        rgba(235,245,255,0.6) 60%,
        rgba(210,230,255,0.3) 85%,
        transparent 100%
    );
    border-radius: 80px;
    width: 180px;
    height: 120px;
    top: -35px;
    left: 30px;
    filter: blur(1.5px);
    box-shadow: inset 0 -10px 20px rgba(180,210,255,0.25);
}

.cloud::after {
    content: '';
    position: absolute;
    background: radial-gradient(
        ellipse 70px 45px,
        rgba(255,255,255,0.92) 0%,
        rgba(245,250,255,0.75) 35%,
        rgba(225,240,255,0.5) 65%,
        rgba(200,225,255,0.2) 90%,
        transparent 100%
    );
    border-radius: 60px;
    width: 120px;
    height: 90px;
    top: -20px;
    right: 20px;
    filter: blur(1px);
    box-shadow: inset 0 -8px 15px rgba(190,220,255,0.2);
}

.cloud-1 { width: 150px; height: 80px; top: 8%; left: -150px; animation-duration: 35s; }
.cloud-2 { width: 130px; height: 70px; top: 22%; left: -130px; animation-duration: 40s; animation-delay: -8s; }
.cloud-3 { width: 140px; height: 75px; top: 12%; left: -140px; animation-duration: 45s; animation-delay: -15s; }
.cloud-4 { width: 110px; height: 60px; top: 32%; left: -110px; animation-duration: 38s; animation-delay: -22s; }
.cloud-5 { width: 120px; height: 65px; top: 4%; left: -120px; animation-duration: 42s; animation-delay: -12s; }

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

/* Корабль */
.ship-scene {
    position: absolute;
    bottom: 26%;
    right: -80px;
    z-index: 2;
    /* animation: shipSway 3s ease-in-out infinite; */
}

.ship {
    height: 270px;
    transform: scale(1.2);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
}

/* Анимация покачивания корабля */
/* @keyframes shipSway {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(-1deg); 
    }
} */

/* Самолет */
.plane-scene {
    position: absolute;
    bottom: 40%;
    right: 170px;
    z-index: 3;
}

/* Базовая анимация покачивания */
/* .plane-scene:not(.plane-flying) {
    animation: planeSway 3s ease-in-out infinite;
} */

.plane {
    height: 120px;
    transform: scale(0.7);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: none;
}

/* Анимация покачивания самолета */
/* @keyframes planeSway {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-6px) rotate(0.5deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-6px) rotate(-0.5deg); 
    }
} */

@keyframes sway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-8px) rotate(1deg); }
  50%      { transform: translateY(-12px) rotate(0deg); }
  75%      { transform: translateY(-8px) rotate(-1deg); }
}

/* Применяем к обоим сразу */
/* .ship-scene,
.plane-scene:not(.plane-flying) {
  animation: sway 3s ease-in-out infinite;
} */

/* Текст над самолетом */
.plane-text {
    position: absolute;
    top: -40px;
    left: -20px;
    color: #FFD700;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 4;
}

/* Контейнер для анимации полета */
.plane-flying {
    animation: planeFlyContainer 4.5s ease-in-out forwards;
}

.plane-flying .plane {
    animation: planeFlyPlane 4.5s ease-in-out forwards;
}

/* Анимация контейнера при полете */
@keyframes planeFlyContainer {
    0% { 
        transform: translateY(0px) rotate(0deg); 
    }
    20% { 
        transform: translateY(-20px) rotate(-2deg); 
    }
    40% { 
        transform: translateY(-60px) rotate(1deg); 
    }
    60% { 
        transform: translateY(-100px) rotate(-1deg); 
    }
    80% { 
        transform: translateY(-40px) rotate(1deg); 
    }
    100% { 
        transform: translateY(-10px) rotate(0deg); 
    }
}

/* Анимация самого самолета при полете */
@keyframes planeFlyPlane {
    0% {
        transform: scale(0.7) rotate(0deg);
    }
    15% {
        transform: scale(0.8) rotate(-3deg);
    }
    35% {
        transform: scale(1.0) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(3deg);
    }
    65% {
        transform: scale(1.1) rotate(-2deg);
    }
    85% {
        transform: scale(0.9) rotate(-1deg);
    }
    100% {
        transform: scale(0.7) rotate(0deg);
    }
}

/* Вода */
.water-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    overflow: hidden;
}
.wave-svg-1 { animation: waveJump 4.5s ease-in-out infinite; }
.wave-svg-2 { animation: waveJump2 6.2s ease-in-out infinite; }

@keyframes waveJump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes waveJump2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes waveJump3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Звезды */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 2;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-1 { top: 10%; left: 20%; animation-delay: 0s; }
.star-2 { top: 15%; left: 70%; animation-delay: 1s; }
.star-3 { top: 25%; left: 10%; animation-delay: 2s; }
.star-4 { top: 30%; left: 80%; animation-delay: 0.5s; }
.star-5 { top: 20%; left: 40%; animation-delay: 1.5s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Кнопка START */
.start-container {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-container.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.8);
}

.start-button, .back-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
    color: white;
    border: none;
    margin: 5px;
    padding: 18px 45px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 
        0 8px 30px rgba(231, 76, 60, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.start-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s;
}
.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s;
}

.start-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.start-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(231, 76, 60, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.3);
}
.back-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(231, 76, 60, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.3);
}

.start-button:hover::before {
    left: 100%;
}
.back-button:hover::before {
    left: 100%;
}

.start-button:active {
    transform: translateY(-2px) scale(1.02);
}

.start-button:active::after {
    width: 300px;
    height: 300px;
}



/* Прогресс-бар анализа */
.analysis-progress {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 90%;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.analysis-progress.show {
    opacity: 1;
    visibility: visible;
}

.progress-label {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 50%, #2471a3 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-percentage {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.dots-blink {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  height: 1em;
  letter-spacing: 0;
}

.dots-blink span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #236be8;
  border-radius: 50%;
  margin: 0 1px;
  opacity: 0.28;
  transition: opacity 0.18s, background 0.18s;
}
.dots-blink span.active {
  opacity: 1;
  background: #1954b5;
}

/* Модальные окна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    background: rgba(0, 20, 50, 0.7);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 25px;
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transform: scale(0.85) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 30px 30px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,255,0.8));
    border-radius: 25px 25px 0 0;
}

.modal-header h2 {
    font-size: 22px;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-close:hover {
    background: rgba(255,255,255,1);
    color: #e74c3c;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.modal-body {
    padding: 20px;
    background: rgba(255,255,255,0.5);
}

.modal-footer {
    padding: 0 30px 30px;
    text-align: center;
    background: rgba(248,249,255,0.3);
    border-radius: 0 0 25px 25px;
}

/* Ввод ставки */
.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #f53403;
    border-radius: 15px;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.input-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 
        0 8px 25px rgba(231, 76, 60, 0.15),
        0 0 0 4px rgba(231, 76, 60, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

/* Кнопки модальных окон */
.modal-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* min-width: 160px; */
    width: 100%;
    box-shadow: 
        0 4px 16px rgba(231, 76, 60, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.modal-btn:hover::before {
    left: 100%;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

.restart-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.restart-btn:hover {
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Синхронизация */
.sync-divider {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c5c8d2 55%, transparent);
  margin: 14px 0 20px 0;
  border-radius: 1.5px;
  opacity: 0.65;
}

.sync-line {
    white-space: nowrap;
    font-size: 12px;
    color: #666;
    margin-bottom: 7px;
    min-height: 21px;
    opacity: 0;
    transition: opacity 0.4s;
    white-space: nowrap;
}
.sync-blue { color: #2980e6; font-weight: 500; }
.sync-green { color: #339c43; font-weight: 500; }

.sync-progress {
    text-align: center;
    margin-bottom: 20px;
}

.sync-bar {
    width: 100%;
    height: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.sync-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border-radius: 5px;
    width: 0%;
    transition: width 0.3s ease;
}

.sync-percentage {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
}

.sync-status {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Результат */
.result-info {
    margin-bottom: 20px;
}

.analysis-details {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.result-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    text-align: center;
    /* padding: 20px 0; */
    background: rgba(255, 68, 68, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(255, 68, 68, 0.2);
}

.result-highlight {
    color: #ff4444;
    font-weight: bold;
}


.close-btn:hover {
    box-shadow: 0 5px 15px rgba(102, 102, 102, 0.4);
}



.cursor {
    animation: blink 1.2s ease-in-out infinite;
    color: #FFE066;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.splash-screen {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, #5187c7 0%, #b5daf5 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.8s;
}

.splash-logo-img {
    width: 180px;
    margin-bottom: 32px;
}

.splash-plane-wrap {
    width: 100vw;
    height: 120px;
    overflow: visible;
    margin-bottom: 40px;
    position: relative;
}

.splash-plane {
    position: absolute;
    top: 20px;
    left: -140px;
    width: 110px;
    pointer-events: none;
    user-select: none;
}

.splash-loading {
    color: #fff;
    font-size: 1.6em;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 8px #30529e30;
}

.splash-dots {
    display: inline-block;
    min-width: 26px;
    letter-spacing: 2px;
}


/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .logo {
        height: 90px;
    }
    
    .start-button {
        padding: 15px 40px;
        font-size: 18px;
        min-width: 180px;
    }
    
    .modal-content {
        margin: 10px;
        max-width: none;
    }
    
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .back-button-container {
        top: 15px;
        left: 15px;
    }
    
    .back-button {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
    }
    
    .back-button svg {
        width: 16px;
        height: 16px;
    }

} 