
.city-confirm {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    background-color: #21282b;
    border-radius: 8px; 
    padding: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none; /* Скрыт по умолчанию, показывается через JS */
    animation: slideUp 0.4s ease-out;
    max-width: 345px;
    margin: 0 auto;
    transition: all 0.4s ease-out;
}

/* Контент с иконкой и текстом */
.city-confirm__content {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* Иконка геолокации */
.city-confirm__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.city-confirm__icon svg {
    width: 100%;
    height: 100%;
    --i-color: #ffffff;
    --i-s-width: 2;
}

/* Текст уведомления */
.city-confirm__text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* Обертка для кнопок */
.city-confirm__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Кнопка "Изменить" (прозрачная с белой обводкой) */
.city-confirm__button-change {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.city-confirm__button-change:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.city-confirm__button-change:active {
    transform: translateY(0);
}

/* Кнопка "Всё верно" (белая как в блоке кук) */
.city-confirm__button-confirm {
    background-color: #ffffff;
    color: #21282b;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.city-confirm__button-confirm:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-confirm__button-confirm:active {
    transform: translateY(0);
}

/* Анимация появления */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Адаптивность
   ======================================== */

/* Планшеты */
@media (max-width: 992px) {
    .city-confirm {
        padding: 12px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .city-confirm {
        padding: 12px;
    }
    
    .city-confirm__content {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .city-confirm__icon {
        width: 24px;
        height: 24px;
    }
    
    .city-confirm__text {
        font-size: 13px;
    }
    
    .city-confirm__button-change,
    .city-confirm__button-confirm {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .city-confirm {
        padding: 12px;
    }
    
    .city-confirm__content {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .city-confirm__icon {
        width: 24px;
        height: 24px;
    }
    
    .city-confirm__text {
        font-size: 12px;
    }
    
    .city-confirm__buttons {
        gap: 8px;
    }
    
    .city-confirm__button-change,
    .city-confirm__button-confirm {
        padding: 6px 10px;
        font-size: 12px;
    }
}
