/* базовые сбросы и шрифты */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #d1d1d6; 
    display: flex; justify-content: center; align-items: center; 
    min-height: 100vh; padding: 20px; 
}

/* контейнер приложения (основа белая) */
.app-container {
    width: 100%; max-width: 400px; height: 850px;
    background-color: #ffffff; 
    border-radius: 40px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15); 
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* темный металлический фон с переливом (закреплен сверху) */
.app-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 480px; 
    background: linear-gradient(135deg, #151515 0%, #2c2c2e 40%, #4a4a4c 50%, #2c2c2e 60%, #151515 100%);
    background-size: 300% 300%; 
    animation: metalShimmer 10s ease-in-out infinite; 
    z-index: -1;
}

/* скролл контента */
.main-content-scroll {
    height: 100%;
    overflow-y: auto; scrollbar-width: none;
    position: relative; z-index: 2;
}
.main-content-scroll::-webkit-scrollbar { display: none; }

/* ========================================================
   ШАПКА (ДИНАМИЧЕСКАЯ + СТЕКЛО)
   ======================================================== */
.header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 30px 20px 24px 20px;
    position: absolute; 
    top: 0; left: 0; width: 100%;
    z-index: 10; 
    transition: all 0.3s ease; 
}
.dark-capsule { 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease;
}

/* Переименовали user-profile и user-name */
.header-left { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 30px; transition: all 0.3s ease;}
.avatar { width: 32px; height: 32px; border-radius: 50%; }
.text-white { color: #ffffff !important; transition: color 0.3s ease; }
.header-title { font-size: 13px; font-weight: 600; transition: all 0.3s ease;}

.actions-capsule { display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: 30px; }
.icon-btn { background: none; border: none; font-size: 20px; position: relative; cursor: pointer; color: #ffffff; transition: color 0.3s ease; }
.badge { position: absolute; top: 0; right: -2px; width: 8px; height: 8px; background: #ff3b30; border-radius: 50%; border: 2px solid #1c1c1e; transition: border-color 0.3s ease; }
.divider-dark { background-color: rgba(255, 255, 255, 0.15); width: 1px; height: 16px; transition: background-color 0.3s ease; }

/* СВЕТЛЫЙ РЕЖИМ ШАПКИ (ЭФФЕКТ СТЕКЛА - Срабатывает при скролле главной) */
.header.light-mode { 
    background-color: rgba(248, 248, 250, 0.75); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
}
.header.light-mode .dark-capsule { background: #ffffff; border: 1px solid #d1d1d6; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.header.light-mode .text-white { color: #111 !important; }
.header.light-mode .icon-btn { color: #111 !important; }
.header.light-mode .divider-dark { background-color: #e5e5ea; }
.header.light-mode .badge { border-color: #ffffff; }

/* ========================================================
   РЕЖИМ ВНУТРЕННИХ СТРАНИЦ (Тонкая, без левой капсулы)
   ======================================================== */
.header.inner-page-mode {
    padding: 20px 20px 16px 20px; /* Делаем шапку тоньше */
    background-color: rgba(255, 255, 255, 0.95); /* Более плотный белый для читаемости */
}
/* Убираем капсулу вокруг аватарки и названия */
.header.inner-page-mode .header-left {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0; /* Убираем отступы бывшей капсулы */
}
/* Увеличиваем заголовок раздела */
.header.inner-page-mode .header-title {
    font-size: 18px; 
    font-weight: 700;
    color: #111 !important;
}
/* ========================================================
   ТЕМНЫЙ БЛОК БАЛАНСА (ПРИЛИПАЕТ ПРИ СКРОЛЛЕ)
   ======================================================== */
.dark-top-section { 
    padding: 100px 20px 24px 20px; /* Увеличили верхний отступ для шапки */
    position: sticky; 
    top: 0;           
    z-index: 1; /* Прячется под светлую подложку */      
}
.subtitle { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.balance { font-size: 42px; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; display: flex; align-items: baseline; gap: 6px; }
.currency-symbol { font-size: 30px; font-weight: 500; } 

.miles-action-row { display: flex; justify-content: space-between; align-items: center; }
.miles-info { display: flex; align-items: baseline; gap: 6px; }
.miles-count { font-size: 18px; font-weight: 700; color: #ffffff; }
.miles-label { font-size: 13px; font-weight: 500; color: #8e8e93; }

.action-btn-dark { 
    padding: 8px 16px; 
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 20px; font-size: 12px; font-weight: 600; color: #ffffff; 
    display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: 0.2s; 
}
.action-btn-dark:active { background: rgba(255, 255, 255, 0.2); }

/* транзакции в темной зоне */
.dark-transactions { margin-top: 32px; }
.dark-icon-circle { background: rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; }

/* ========================================================
   СВЕТЛАЯ ПОДЛОЖКА СО СКРУГЛЕНИЯМИ (НАЕЗЖАЕТ СВЕРХУ)
   ======================================================== */
.light-bottom-sheet {
    background-color: #f8f8fa; 
    border-radius: 32px 32px 0 0; 
    padding: 24px 20px 120px 20px; 
    min-height: calc(100% - 240px); 
    position: relative; 
    z-index: 3; /* Поверх баланса */
    box-shadow: 0 -15px 40px rgba(0,0,0,0.15); /* Мощная тень вверх, отделяющая слои */
}

/* белые ячейки внутри подложки */
.white-cell, .crisis-radar-card { 
    background: #ffffff; 
    border: none; 
    border-radius: 24px; 
    padding: 20px; 
    margin-bottom: 16px; 
    box-shadow: 0 6px 16px rgba(0,0,0,0.04); 
}

/* общие стили для списков/транзакций */
.small-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.small-header h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.see-all { font-size: 13px; text-decoration: none; font-weight: 600; }

.transaction-item { display: flex; align-items: center; justify-content: space-between; }
.compact-tx .tx-icon .icon-circle { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tx-details { flex: 1; margin-left: 14px; }
.compact-tx .tx-title { font-size: 14px; font-weight: 600; }
.compact-tx .tx-time { font-size: 12px; margin-top: 2px; font-weight: 500; }
.compact-tx .tx-amount { font-size: 15px; }
.tx-positive { color: #34c759; } 
.font-bold { font-weight: 700; }

/* ии радар */
.crisis-radar-card { cursor: pointer; user-select: none; transition: transform 0.2s ease; }
.crisis-radar-card:active { transform: scale(0.99); }
.radar-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.radar-title-group h3 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.current-location { font-size: 13px; color: #5e27b6; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.radar-header > i { color: #8e8e93; }

.status-badge-full { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 14px; font-size: 14px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s ease; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; }

.status-safe { background: #e3fbec; color: #248a3d; }
.status-safe .pulse-dot { background: #34c759; }
.status-watch { background: #fff5cc; color: #a47000; }
.status-watch .pulse-dot { background: #ffcc00; animation: pulse 2s infinite; }
.status-leave { background: #ffe5e5; color: #c93400; }
.status-leave .pulse-dot { background: #ff3b30; animation: pulse-fast 1s infinite; }

.warning-block { padding-left: 14px; border-left: 3px solid #e5e5ea; margin-bottom: 24px; transition: border-color 0.3s ease; }
.status-safe-border { border-left-color: #34c759; }
.status-watch-border { border-left-color: #ffcc00; }
.status-leave-border { border-left-color: #ff3b30; }
.warning-text { font-size: 14px; color: #3a3a3c; line-height: 1.5; margin-bottom: 8px; font-weight: 500; }
.news-source { font-size: 11px; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

.book-escape-btn { width: 100%; padding: 16px; background: #111; color: #fff; border: none; border-radius: 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 10px; cursor: pointer; transition: 0.2s; margin-bottom: 8px; }
.action-hint { font-size: 12px; color: #8e8e93; text-align: center; font-weight: 500; line-height: 1.3; }

/* ========================================================
   НОВОСТИ (ВЕРТИКАЛЬНЫЙ СПИСОК)
   ======================================================== */
.news-section { margin-top: 32px; } 
.news-section .small-header h3 { color: #8e8e93; }
.news-section .see-all { color: #5e27b6; }

.news-vertical-list { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    padding-bottom: 40px; 
}

.news-card-vertical { 
    background: #ffffff; 
    border-radius: 20px; 
    padding: 16px; 
    box-shadow: 0 6px 16px rgba(0,0,0,0.04); 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.news-cover { 
    width: 100%; 
    height: 160px; 
    border-radius: 12px; 
    object-fit: cover; 
}

.news-content-vertical { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

/* Блок с источником и датой выстроен вертикально */
.news-meta { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 2px;
    margin-bottom: 4px; 
}

.news-source-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.news-source-label {
    font-size: 11px;
    color: #8e8e93;
    font-weight: 500;
}

.news-source-badge { 
    font-size: 11px; 
    font-weight: 700; 
    color: #5e27b6; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.news-time { 
    font-size: 10px; 
    color: #a1a1a6; 
    font-weight: 500; 
}

.news-content-vertical h4 { 
    font-size: 15px; 
    font-weight: 600; 
    color: #111; 
    line-height: 1.4; 
}

.news-excerpt { 
    font-size: 13px; 
    color: #737373; 
    line-height: 1.5; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.read-more-btn { 
    margin-top: 4px; 
    align-self: flex-start; 
    background: none; 
    border: none; 
    color: #111; 
    font-size: 13px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    padding: 4px 0; 
}
.read-more-btn::after { 
    content: '\f105'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    font-size: 12px; 
    color: #8e8e93; 
}

/* плавающее меню */
.floating-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); background-color: #111; border-radius: 40px; display: flex; align-items: center; padding: 8px 12px; gap: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); z-index: 100; }
.nav-item { display: flex; align-items: center; gap: 8px; color: #8e8e93; text-decoration: none; padding: 12px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; transition: 0.3s; }
.nav-item i { font-size: 18px; }
.nav-item.active { background-color: #2c2c2e; color: #ffffff; }
.nav-item:not(.active) span { display: none; }

/* заглушка в разработке */
.construction-page { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 100px; text-align: center; color: #8e8e93; }
.construction-page i { font-size: 48px; margin-bottom: 16px; color: #d1d1d6; }
.construction-page h2 { font-size: 18px; font-weight: 600; color: #111; margin-bottom: 8px; }
.construction-page p { font-size: 14px; font-weight: 500; }

/* анимации spa */
.page-section { display: none; animation: fadeSlideUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.page-section.active { display: block; }

@keyframes fadeSlideUp { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(255, 204, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); } }
@keyframes pulse-fast { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
@keyframes metalShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* адаптация под мобильные устройства */
@media (max-width: 480px) {
    body { padding: 0; background-color: #ffffff; align-items: flex-start; }
    
    .app-container {
        max-width: 100%; height: 100vh; height: 100dvh; 
        border-radius: 0; box-shadow: none;
    }
    
    .header { padding-top: 40px; }

    .floating-nav { width: calc(100% - 40px); justify-content: space-between; bottom: 20px; }
}

/* ========================================================
   СЕКЦИЯ TRAVEL (ПУТЕШЕСТВИЯ)
   ======================================================== */
.travel-page-wrapper {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 100px 20px 140px 20px; /* Отступ сверху для шапки, снизу для меню */
    position: relative;
    z-index: 4; /* Полностью перекрывает темный металлический фон */
}

/* Горизонтальный скролл отелей */
.hotel-horizontal-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 16px 20px 16px 20px; /* Внутренние отступы для тени */
    margin: 0 -20px; /* Растягиваем за края экрана */
    scrollbar-width: none;
}
.hotel-horizontal-scroll::-webkit-scrollbar { display: none; }

.hotel-card {
    min-width: 200px; max-width: 200px;
    background: #ffffff;
    border: 1px solid #f2f2f7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.hotel-card img {
    width: 100%; height: 130px; object-fit: cover;
}
.hotel-info { padding: 12px; }
.hotel-info h4 { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stars { color: #ffcc00; font-size: 10px; margin-bottom: 8px; }
.hotel-price { font-size: 13px; font-weight: 600; color: #5e27b6; }

/* Кнопки действий (вертикально) */
.travel-actions-grid {
    display: flex; flex-direction: column; gap: 10px; margin: 24px 0 16px 0;
}
.t-action-btn {
    display: flex; align-items: center; gap: 14px;
    background: #f8f8fa; border: 1px solid #e5e5ea;
    padding: 16px; border-radius: 20px;
    font-size: 14px; font-weight: 600; color: #111;
    cursor: pointer; transition: 0.2s;
}
.t-action-btn i { font-size: 18px; color: #5e27b6; width: 24px; text-align: center; }
.t-action-btn:active { background: #e5e5ea; transform: scale(0.98); }

/* Поиск */
.travel-search-bar {
    display: flex; align-items: center; gap: 12px;
    background: #ffffff; border: 1px solid #d1d1d6;
    padding: 14px 16px; border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.travel-search-bar i { color: #8e8e93; font-size: 16px; }
.travel-search-bar input {
    border: none; outline: none; background: none;
    font-size: 14px; font-weight: 500; color: #111; width: 100%;
}
.travel-search-bar input::placeholder { color: #a1a1a6; }

/* Вертикальный список туров */
.tours-vertical-list {
    display: flex; flex-direction: column; gap: 20px; margin-top: 16px;
}
.tour-card {
    background: #ffffff; border: 1px solid #f2f2f7;
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.tour-cover { width: 100%; height: 180px; object-fit: cover; }
.tour-content { padding: 16px; }
.tour-content h4 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 6px; }
.tour-desc { font-size: 13px; color: #737373; line-height: 1.4; margin-bottom: 16px; }
.tour-bottom { display: flex; justify-content: space-between; align-items: center; }
.tour-price { font-size: 16px; font-weight: 700; color: #111; }
.tour-book-btn { background: #111; color: #fff; border: none; padding: 10px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.tour-book-btn:active { background: #333; }

/* ========================================================
   СЕКЦИЯ BUSINESS (КОРПОРАТИВНЫЙ СЕГМЕНТ)
   ======================================================== */
.corporate-page-wrapper {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 100px 20px 140px 20px;
    position: relative;
    z-index: 4;
}

/* Шапка компании */
.company-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f8fa;
    border: 1px solid #e5e5ea;
    border-radius: 24px;
}
.company-logo-box {
    width: 48px; height: 48px;
    background: #111; color: #fff;
    border-radius: 14px;
    display: flex; justify-content: center; align-items: center;
    font-size: 20px;
}
.company-label { font-size: 12px; color: #8e8e93; font-weight: 500; margin-bottom: 2px; }
.company-name { font-size: 16px; font-weight: 700; color: #111; }

/* Общие стили карточек */
.corp-card {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.03);
    margin-bottom: 16px;
}

/* Главная карточка Фонда */
.emergency-fund-card {
    border-left: 4px solid #111; /* Строгий корпоративный акцент */
}
.corp-card-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.corp-card-header h4 { font-size: 15px; color: #737373; font-weight: 600; }
.status-badge-small {
    padding: 4px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.corp-balance { font-size: 38px; font-weight: 700; color: #111; margin-bottom: 8px; letter-spacing: -0.5px; }
.corp-desc { font-size: 13px; color: #8e8e93; line-height: 1.4; margin-bottom: 24px; }

/* Прогресс-бар */
.fund-progress-container { width: 100%; }
.fund-labels { display: flex; justify-content: space-between; font-size: 12px; color: #737373; font-weight: 600; margin-bottom: 8px; }
.fund-bar-bg { width: 100%; height: 8px; background: #f2f2f7; border-radius: 4px; overflow: hidden; }
.fund-bar-fill { height: 100%; background: #111; border-radius: 4px; }

/* Сетка бонусов */
.corp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.small-benefit-card { padding: 16px; margin-bottom: 0; display: flex; flex-direction: column; }
.benefit-icon {
    width: 36px; height: 36px; border-radius: 12px;
    display: flex; justify-content: center; align-items: center; color: #fff; font-size: 14px; margin-bottom: 12px;
}
.bg-purple { background: #5e27b6; }
.bg-green { background: #34c759; }

.small-benefit-card h4 { font-size: 13px; color: #8e8e93; font-weight: 500; margin-bottom: 4px; }
.benefit-amount { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 16px; }
.text-small { font-size: 12px; font-weight: 500; color: #8e8e93; }
.benefit-btn {
    margin-top: auto; padding: 10px;
    background: #f8f8fa; border: 1px solid #e5e5ea; border-radius: 12px;
    font-size: 12px; font-weight: 600; color: #111; cursor: pointer; transition: 0.2s;
}
.benefit-btn:active { background: #e5e5ea; }

/* Политика компании */
.corp-policy-list { display: flex; flex-direction: column; gap: 12px; }
.policy-item {
    display: flex; align-items: center; gap: 16px;
    background: #ffffff; border: 1px solid #e5e5ea; padding: 16px; border-radius: 20px;
}
.policy-icon {
    width: 40px; height: 40px; background: #f8f8fa; border-radius: 12px;
    display: flex; justify-content: center; align-items: center; color: #111; font-size: 16px;
}
.policy-details { flex: 1; }
.policy-details h5 { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 4px; }
.policy-details p { font-size: 12px; color: #8e8e93; font-weight: 500; }
.policy-check { color: #34c759; font-size: 16px; }
.policy-action-btn {
    background: #111; color: #fff; border: none; padding: 8px 14px; border-radius: 12px;
    font-size: 12px; font-weight: 600; cursor: pointer;
}

/* ========================================================
   СЕКЦИЯ SETTINGS (НАСТРОЙКИ)
   ======================================================== */
.settings-page-wrapper {
    background-color: #f8f8fa; 
    min-height: 100vh;
    padding: 100px 20px 140px 20px;
    position: relative;
    z-index: 4;
}

.settings-group { margin-bottom: 24px; }
.settings-group-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #8e8e93; font-weight: 600; margin-left: 16px; margin-bottom: 6px; }
.settings-group-desc { font-size: 12px; color: #8e8e93; line-height: 1.4; margin-left: 16px; margin-bottom: 12px; margin-right: 16px; }

.settings-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.setting-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0;
}
.setting-item-vertical { padding: 16px 0; }
.setting-text h4 { font-size: 15px; font-weight: 500; color: #111; margin-bottom: 4px; }
.setting-text p { font-size: 12px; color: #8e8e93; font-weight: 500; }

.divider-horizontal { height: 1px; background-color: #f2f2f7; width: 100%; }

/* Премиальная строка триггеров */
.premium-trigger-row { align-items: flex-start; }
.premium-trigger-row .icon-right { margin-top: 2px; }
.active-triggers-text { color: #5e27b6 !important; font-weight: 500; margin-top: 4px; }

/* Премиальный переключатель (Segmented Control) */
.segmented-control {
    display: flex; background: #f2f2f7; border-radius: 12px; padding: 4px; width: 100%;
}
.segment {
    flex: 1; text-align: center; font-size: 13px; font-weight: 600; color: #8e8e93; 
    padding: 8px 0; border-radius: 10px; cursor: pointer; transition: 0.3s;
}
.segment.active {
    background: #ffffff; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Блок Family Safety */
.family-member { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.member-icon { width: 36px; height: 36px; background: #e3e3e8; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #8e8e93; }
.member-details { flex: 1; }
.member-details h4 { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 2px; }
.member-details p { font-size: 12px; color: #8e8e93; font-weight: 500; }
.member-remove-btn { background: #ffe5e5; color: #ff3b30; border: none; width: 28px; height: 28px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.2s; }
.member-remove-btn:active { transform: scale(0.9); }

/* Кнопка добавления семьи внутри карточки */
.add-family-row {
    justify-content: center; gap: 8px; color: #5e27b6; font-weight: 600; font-size: 14px; padding: 16px 0;
}

/* Меню информации (Кликабельные строки) */
.clickable-item { cursor: pointer; transition: 0.2s; }
.clickable-item:active { opacity: 0.6; }
.setting-value { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #8e8e93; font-weight: 500; }
.chevron-icon { color: #d1d1d6; font-size: 14px; }

/* Футер */
.settings-footer { text-align: center; margin-top: 40px; }
.app-version { font-size: 12px; color: #8e8e93; font-weight: 500; margin-bottom: 6px; }
.app-developer { font-size: 10px; color: #a1a1a6; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }