/* /Components/NewsCard.razor.rz.scp.css */
/* Ссылка-обертка, чтобы убрать стандартное подчеркивание и сделать блок */
.news-card-link[b-pymt67res6] {
    display: block;
    color: inherit;
}

.news-card[b-pymt67res6] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) -50%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 0.1);
    margin-bottom: 12px;
    display: flex;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Эффект нажатия на всю карточку */
.news-card-link:active .news-card[b-pymt67res6] {
    transform: scale(0.98);
    box-shadow: 0 0 0 rgb(0 0 0 / 0);
}

.news-image[b-pymt67res6] {
    width: 120px;
    flex-shrink: 0;
}

.news-img[b-pymt67res6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content[b-pymt67res6] {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title[b-pymt67res6] {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.news-excerpt[b-pymt67res6] {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 8px 0;
    line-height: 1.4;
    /* CSS-обрезка, если вдруг C#-логика не сработает (двойная защита) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta[b-pymt67res6] {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    align-items: center;
}

.news-date[b-pymt67res6] {
    display: flex;
    align-items: center;
    gap: 4px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Отступ снизу для контента = высота меню + безопасная зона iOS */
.main-content-safe-pb[b-s9wdesejoh] {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

/* Высота меню + безопасная зона iOS */
.bottom-nav-safe-h[b-s9wdesejoh] {
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* --- ГРАДИЕНТНЫЙ ФОН И РАМКА --- */
.bottom-nav-gradient[b-s9wdesejoh] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 -4px 12px rgb(0 0 0 / 0.08);
    position: relative; 
}

/* Верхняя рамка 2px с ОБРАТНЫМ градиентом */
.bottom-nav-gradient[b-s9wdesejoh]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(225deg, rgba(111, 111, 111, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 10;
}

/* --- Стили для кнопок навигации --- */
.nav-link-custom[b-s9wdesejoh] {
    transition: all 0.2s ease-in-out;
    min-height: 48px; /* Удобная зона для нажатия пальцем */
    border-radius: 12px; /* Скругление при нажатии */
    margin: 0 4px;
}

/* Активная вкладка */
.nav-link-custom.active[b-s9wdesejoh] {
    color: #0d6efd !important; /* Bootstrap primary (синий) */
    background: rgba(255, 255, 255, 0.4); /* Легкая белая подложка для выделения */
    backdrop-filter: blur(4px); /* Эффект размытия фона (glassmorphism) */
}

/* Эффект нажатия */
.nav-link-custom:active[b-s9wdesejoh] {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nl1gxwbepy] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-nl1gxwbepy] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-nl1gxwbepy] {
    font-size: 1.1rem;
}

.bi[b-nl1gxwbepy] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-nl1gxwbepy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-nl1gxwbepy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-nl1gxwbepy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-nl1gxwbepy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-nl1gxwbepy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nl1gxwbepy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nl1gxwbepy]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-nl1gxwbepy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-nl1gxwbepy]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nl1gxwbepy] {
        display: none;
    }

    .collapse[b-nl1gxwbepy] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-nl1gxwbepy] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Device.razor.rz.scp.css */

/* Название страницы */
.page-header[b-udaox2zwl2] {
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title[b-udaox2zwl2],
.settings-btn[b-udaox2zwl2] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.page-title[b-udaox2zwl2] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 4px 4px 16px;
}

.settings-btn[b-udaox2zwl2] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e293b;
    font-size: 20px;
    flex-shrink: 0;
}

.settings-btn:active[b-udaox2zwl2] {
    transform: scale(0.95);
}

/* Дозатор */

.device-card[b-udaox2zwl2],
.device-title[b-udaox2zwl2],
.device-image[b-udaox2zwl2],
.pump[b-udaox2zwl2]{
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 20px;
    box-shadow: 1px 1px 2px rgb(0 0 0 / 0.1);

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.device-card[b-udaox2zwl2] {
    margin: 0 15px;
    flex-direction: column;
}

.device-title[b-udaox2zwl2] {
    min-width: 50%;
}

.device-image[b-udaox2zwl2] {
    min-width: 80%;
    padding: 10px;
}

.device-img[b-udaox2zwl2]{
    object-fit: contain;
}

.pump-list[b-udaox2zwl2]{
    display: flex;
    margin: 10px;
    gap: 10px;
}

.pump[b-udaox2zwl2]{
    margin: 0;
    padding: 10px 8px;
    font-size: .9em;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* /Pages/Home.razor.rz.scp.css */

/* Поиск */
.page-header[b-6dr3m4fg9u] {
    position: sticky;
    top: 15px;
    margin: 0 15px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-search[b-6dr3m4fg9u],
.settings-btn[b-6dr3m4fg9u] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.page-search[b-6dr3m4fg9u] {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 16px;
}

.search-input[b-6dr3m4fg9u] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #1e293b;
    outline: none;
}

.search-input[b-6dr3m4fg9u]::placeholder {
    color: #64748b;
}

.search-btn[b-6dr3m4fg9u] {
    background: rgba(255, 255, 255, 0);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e293b;
    font-size: 16px;
    flex-shrink: 0;
}

.search-btn:active[b-6dr3m4fg9u] {
    transform: scale(0.95);
}

.settings-btn[b-6dr3m4fg9u] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e293b;
    font-size: 20px;
    flex-shrink: 0;
}

/* .settings-btn:hover {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
} */

.settings-btn:active[b-6dr3m4fg9u] {
    transform: scale(0.95);
}


/* Кнопочки */


.tabs-container[b-6dr3m4fg9u] {
    display: flex;
    background: transparent;
    padding: 8px 16px;
    gap: 8px;
    position: sticky;
    top: 57px; /* Высота хедера, чтобы табы прилипали под ним */
    z-index: 90;
}

.tab-btn[b-6dr3m4fg9u] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(191, 199, 209, 0.4);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    /* color: #64748b; */
}

.tab-btn.active[b-6dr3m4fg9u] {
    background: rgba(14, 165, 233, 0.4);
    border-color: rgba(14, 164, 233, 0.4);
    box-shadow: 0 2px 4px rgb(14 165 233 / 0.2);
}

.tab-btn:active[b-6dr3m4fg9u] {
    transform: scale(0.98);
}

.tab-icon[b-6dr3m4fg9u] {
    font-size: 18px;
}


/* ----------------- */


.content-wrapper[b-6dr3m4fg9u] {
    padding: 16px;
}

.content-section[b-6dr3m4fg9u] {
    margin-bottom: 24px;
}

.section-title[b-6dr3m4fg9u] {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

/* Карточка аквариума */
.aquarium-card[b-6dr3m4fg9u] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    border: 1px solid #e2e8f0;
}

.aquarium-image[b-6dr3m4fg9u] {
    position: relative;
    width: 100%;
    height: 150px;
}

.aquarium-img[b-6dr3m4fg9u] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aquarium-badge[b-6dr3m4fg9u] {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.aquarium-badge.active[b-6dr3m4fg9u] {
    display: block;
    background: #10b981;
    color: white;
}

.aquarium-content[b-6dr3m4fg9u] {
    padding: 16px;
}

/* .aquarium-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
} */

.aquarium-stats[b-6dr3m4fg9u] {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    flex-wrap: wrap;
}

.stat-item[b-6dr3m4fg9u] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 1px 1px 2px 0 rgb(0 0 0 / .2);
    border-radius: 20px;
    padding: 15px 5px;
    font-size: 14px;
}

.stat-icon[b-6dr3m4fg9u] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .2);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    font-size: 16px;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-content[b-6dr3m4fg9u]{
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.stat-value[b-6dr3m4fg9u], .stat-title[b-6dr3m4fg9u] {
    font-weight: 500;
    color: #1e293b;
    text-align: center;
}

/* /Pages/NotFound.razor.rz.scp.css */
/* --- КОНТЕЙНЕР --- */
.not-found-container[b-ktasbxtow1] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* --- ГЛАВНАЯ КАРТОЧКА --- */
.not-found-card[b-ktasbxtow1] {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 360px;
    padding: 40px 28px;
    text-align: center;
    
    background: linear-gradient(45deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    border-radius: 24px;
    
    position: relative;
}

.not-found-card[b-ktasbxtow1]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, rgba(111, 111, 111, 0.4) 100%);
    
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;

    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    
    pointer-events: none;
}

/* --- ИКОНКА РЫБКИ С АНИМАЦИЕЙ --- */
.fish-icon-wrapper[b-ktasbxtow1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: swim-b-ktasbxtow1 3s ease-in-out infinite;
}

.fish-icon[b-ktasbxtow1] {
    filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.1));
    width: 80%;
    height: 80%;
    object-fit: contain;
}

@keyframes swim-b-ktasbxtow1 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* --- ТЕКСТ --- */
.error-code[b-ktasbxtow1] {
    font-size: 72px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
}

.error-title[b-ktasbxtow1] {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 8px 0 12px 0;
}

.error-description[b-ktasbxtow1] {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 28px 0;
}

/* --- КНОПКА "НА ГЛАВНУЮ" --- */
.home-button[b-ktasbxtow1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    
    /* Градиент как у таб-бара */
    background: linear-gradient(45deg, #6F6F6F 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    color: #1e293b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.home-button i[b-ktasbxtow1] {
    font-size: 18px;
}

.home-button:hover[b-ktasbxtow1] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.15);
    background: linear-gradient(45deg, #5a5a5a 0%, rgba(255, 255, 255, 0.8) 100%);
}

.home-button:active[b-ktasbxtow1] {
    transform: scale(0.97);
}
/* /Pages/Notifications.razor.rz.scp.css */

/* Название страницы */
.page-header[b-v92elr5dnq] {
    position: sticky;
    top: 15px;
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title[b-v92elr5dnq],
.settings-btn[b-v92elr5dnq] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.page-title[b-v92elr5dnq] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 4px 4px 16px;
}

.settings-btn[b-v92elr5dnq] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e293b;
    font-size: 20px;
    flex-shrink: 0;
}

.settings-btn:active[b-v92elr5dnq] {
    transform: scale(0.95);
}
/* /Pages/Profile.razor.rz.scp.css */

/* Название страницы */
.page-header[b-hiwsuemuug] {
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title[b-hiwsuemuug] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.page-title[b-hiwsuemuug] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 4px 4px 16px;
}

/* .settings-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e293b;
    font-size: 20px;
    flex-shrink: 0;
}

.settings-btn:active {
    transform: scale(0.95);
} */

/* Name */

.user-title[b-hiwsuemuug] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name-container[b-hiwsuemuug] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 20px;
    padding: 2px 20px;
}

/* Menu */

.menu-wraper[b-hiwsuemuug] {
    margin-top: 7rem;    

}

.menu[b-hiwsuemuug] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.user-image[b-hiwsuemuug]{
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; 
    width: 50%;
}

.user-img[b-hiwsuemuug]{
    object-fit: cover;
    width: 50%;
}




/* --- КОНТЕЙНЕР СТРАНИЦЫ --- */
.profile-container[b-hiwsuemuug] {
    padding: 16px;
    min-height: calc(100vh - 140px); /* Учитываем высоту хедера и нижнего меню */
}

/* --- КАРТОЧКА ПРОФИЛЯ (Glassmorphism) --- */
.profile-card[b-hiwsuemuug] {
    background: linear-gradient(135deg, rgba(111, 111, 111, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 0.1);
    position: relative;
    overflow: visible; /* Важно! Чтобы аватарка могла выходить за границы */
    margin-top: 40px; /* Отступ сверху, чтобы было место для "вылезания" аватарки */
}

/* --- ИНФОРМАЦИЯ О ПОЛЬЗОВАТЕЛЕ --- */
.user-info[b-hiwsuemuug] {
    text-align: center;
    margin-bottom: 24px;
}

.user-name[b-hiwsuemuug] {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.user-email[b-hiwsuemuug] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* --- ПУНКТЫ МЕНЮ --- */
.menu-items[b-hiwsuemuug] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item[b-hiwsuemuug] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-item i:first-child[b-hiwsuemuug] {
    font-size: 18px;
    color: #0d6efd;
}

.menu-item.text-danger i:first-child[b-hiwsuemuug] {
    color: #dc3545;
}

.menu-item:active[b-hiwsuemuug] {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.9);
}
/* /Pages/ProfileAvatar.razor.rz.scp.css */
.profile-avatar-wrapper[b-jw1t1qk3bw] {
    display: flex;
    justify-content: center;
    margin-top: -60px; /* Поднимаем аватарку вверх, чтобы она выходила за контейнер */
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.avatar-container[b-jw1t1qk3bw] {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    
    /* Градиентная рамка через box-shadow или border */
    padding: 2px;
    background: linear-gradient(45deg, #6F6F6F 0%, rgba(255, 255, 255, 0.6) 100%);
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}

.avatar-img[b-jw1t1qk3bw] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 2px solid #ffffff; /* Белая обводка внутри рамки */
}

/* Кнопка редактирования */
.avatar-edit-btn[b-jw1t1qk3bw] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #0d6efd; /* Bootstrap primary */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
    transition: transform 0.2s, background 0.2s;
    font-size: 16px;
    line-height: 16px;
}

.avatar-edit-btn:hover[b-jw1t1qk3bw] {
    transform: scale(1.1);
    background: #0b5ed7;
}


/* Оверлей загрузки */
.avatar-loading-overlay[b-jw1t1qk3bw] {
    position: absolute;
    inset: 4px; /* Учитываем padding рамки */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
