/* ITZone Theme CSS - Основной файл стилей темы */

/* ============================================
   CSS Reset - Убираем все отступы браузера (user agent stylesheet)
   Должен быть первым для переопределения стандартных стилей браузера
   ============================================ */
* {
    box-sizing: border-box;
}

/* КРИТИЧЕСКИ ВАЖНО: Переопределение user agent stylesheet для html и body */
/* Эти стили должны быть первыми в файле с максимальной специфичностью */
html {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Максимальная специфичность для body - переопределяет user agent stylesheet */
html body,
body,
body[class],
body[id],
body[class][id],
html body[class],
html body[id],
html > body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
}

/* Дополнительное переопределение с еще большей специфичностью */
html body {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
}

/* ============================================
   ITZone Theme Variables
   ============================================ */
:root {
    --itz-primary: #ff6b35;
    --itz-primary-light: #f7931e;
    --itz-dark: #1a1a1a;
    --itz-darker: #0f0f0f;
    --itz-text: #ffffff;
    --itz-text-light: #cccccc;
    --itz-glass: rgba(255, 255, 255, 0.1);
    --itz-glass-border: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Mobile / PWA safe areas
   ============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
    body { padding-top: env(safe-area-inset-top); }
    .header { padding-top: env(safe-area-inset-top); }
    .main-content { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* Минимальный размер зон нажатия для мобильных */
@media (max-width: 768px) {
    .itz-pwa-nav-btn, .itz-mobile-nav a, .itz-subnav-link, .auth-link {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }
}

/* ============================================
   Base Styles
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: linear-gradient(135deg, var(--itz-darker) 0%, var(--itz-dark) 100%) !important;
    color: var(--itz-text) !important;
    min-height: 100vh;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
}

/* Убираем отступы у контейнера сайта */
#site, div[id^="site"], div[id*="site"] {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   Header - Фиксированный хедер без отступов
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--itz-primary) 0%, var(--itz-primary-light) 100%) !important;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 80px !important;
    max-height: 80px !important;
    overflow: visible !important;
}

/* Хедер с поднавигацией — убираем ограничение высоты */
.header.itz-has-subnav {
    max-height: none !important;
}

/* Второй ряд хедера — подстраницы текущего раздела (такой же дизайн, но меньше) */
.header-subnav {
    background: linear-gradient(135deg, var(--itz-primary) 0%, var(--itz-primary-light) 100%) !important;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.25) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 20px !important;
    min-height: 36px;
    position: relative;
    z-index: 5;
}

/* Сброс наследования от .header .container (min-height 80px, justify-content space-between) */
.header-subnav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 20px !important;
    min-height: unset !important;
    max-height: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
}

.itz-subnav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.itz-subnav-item {
    margin: 0;
}

.itz-subnav-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.itz-subnav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

.itz-subnav-item.selected .itz-subnav-link {
    background: rgba(0, 0, 0, 0.25) !important;
    color: white !important;
}

/* Переопределение правил из других CSS файлов */
.header .container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    position: relative;
    z-index: 10001 !important;
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 80px;
    max-height: 80px;
    overflow: visible;
}

.header .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.header .logo:hover {
    transform: scale(1.05);
}

.header .logo-img {
    height: 50px;
    width: auto;
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header .logo-img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header .logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    box-sizing: border-box;
    max-height: 100%;
}

.header .logo-icon {
    font-size: 32px;
    line-height: 1;
}

.header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header .logo-text:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    text-decoration: none;
}

.header .nav {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* Для десктопного меню запрещаем перенос строк */
.header .itz-desktop-nav .nav {
    flex-wrap: nowrap !important;
    overflow: hidden;
    min-width: 0;
    white-space: nowrap;
}

.header .itz-desktop-nav {
    display: flex;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}

.header .itz-desktop-nav .nav {
    flex-wrap: nowrap !important;
    overflow: hidden;
    min-width: 0;
}

/* Мобильное меню скрыто по умолчанию через opacity и visibility */

.header .nav li {
    margin: 0;
}

.header .nav a {
    color: white !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header .nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header .nav a.selected,
.header .nav li.selected a,
.header .nav li.selected .itz-nav-link {
    background: rgba(0, 0, 0, 0.25) !important;
}

/* Auth section styling */
.header .header-right-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header .auth-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .auth-link {
    color: white !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header .auth-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header .auth-text {
    color: white;
}

/* ============================================
   Main Content - Отступ сверху для фиксированного хедера
   ============================================ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    padding-top: 110px !important; /* Отступ сверху для фиксированного хедера (80px высота + 30px отступ) */
    padding-bottom: 10px !important; /* Минимальный отступ снизу перед футером */
    position: relative;
    z-index: 1;
}

/* Дополнительный отступ когда есть второй ряд хедера (80px основной + ~50px субнав + 40px запас) */
.header.itz-has-subnav + main.main-content,
#site .header.itz-has-subnav ~ main.main-content,
#shop .header.itz-has-subnav ~ main.main-content {
    padding-top: 200px !important;
}

.content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Личный кабинет — меню внизу (скрыто в обычной версии)
   ============================================ */
.itz-mynav-bottom {
    display: none !important;
    background: linear-gradient(135deg, var(--itz-darker) 0%, var(--itz-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    margin-top: 24px;
}

.itz-mynav-bottom .itz-mynav-pages,
.itz-mynav-bottom ul.itz-mynav-pages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.itz-mynav-bottom .itz-mynav-pages li,
.itz-mynav-bottom ul.itz-mynav-pages li {
    margin: 0;
    padding: 0;
}

.itz-mynav-bottom .itz-mynav-pages a,
.itz-mynav-bottom ul.itz-mynav-pages a {
    color: var(--itz-text-light) !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.itz-mynav-bottom .itz-mynav-pages a:hover {
    color: var(--itz-primary) !important;
    background: rgba(255, 255, 255, 0.08);
}

.itz-mynav-bottom .itz-mynav-pages li.selected a {
    color: var(--itz-primary) !important;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 20px !important;
    padding: 20px 0 !important;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: var(--itz-text-light) !important;
}

/* ============================================
   Links
   ============================================ */
a {
    color: var(--itz-primary) !important;
    text-decoration: none !important;
}

a:hover {
    color: var(--itz-primary-light) !important;
}

/* ============================================
   Headings
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--itz-text) !important;
    margin-bottom: 1rem;
}

/* ============================================
   Forms
   ============================================ */
input, textarea, select {
    background: var(--itz-glass) !important;
    border: 1px solid var(--itz-glass-border) !important;
    color: var(--itz-text) !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--itz-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2) !important;
}

/* Плейсхолдеры для input полей */
input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

/* ============================================
   Buttons
   ============================================ */
button, .button, input[type="submit"] {
    background: var(--itz-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

button:hover, .button:hover, input[type="submit"]:hover {
    background: var(--itz-primary-light) !important;
}

/* Исключаем кнопки меню из подпрыгивания */
.itz-nav-menu-mobile a:hover,
.itz-user-dropdown-item:hover,
.itz-mobile-nav-toggle:hover,
.itz-user-menu-btn:hover {
    transform: none !important;
}

/* Кнопки с классами btn */
.btn, a.btn, button.btn {
    background: var(--itz-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: inherit !important;
}

.btn:hover, a.btn:hover, button.btn:hover {
    background: var(--itz-primary-light) !important;
    opacity: 0.9 !important;
    text-decoration: none !important;
}

.btn-primary, a.btn-primary, button.btn-primary {
    background: var(--itz-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: inherit !important;
}

.btn-primary:hover, a.btn-primary:hover, button.btn-primary:hover {
    background: var(--itz-primary-light) !important;
    opacity: 0.9 !important;
    text-decoration: none !important;
}

.btn-secondary, a.btn-secondary, button.btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--itz-text) !important;
    border: 1px solid var(--itz-glass-border) !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: inherit !important;
}

.btn-secondary:hover, a.btn-secondary:hover, button.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: var(--itz-primary) !important;
    text-decoration: none !important;
}

/* ============================================
   Content Blocks
   ============================================ */
.content-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.content-block h1, .content-block h2, .content-block h3 {
    color: var(--itz-primary) !important;
    margin-bottom: 20px;
}

.content-block p {
    color: var(--itz-text-light) !important;
    margin-bottom: 15px;
}

.content-block a {
    color: var(--itz-primary) !important;
    text-decoration: none !important;
}

.content-block a:hover {
    color: var(--itz-primary-light) !important;
    text-decoration: underline !important;
}

/* ============================================
   Global Header Navigation (itz-nav)
   ============================================ */
#globalnav.itz-nav {
    position: relative;
    z-index: 1000;
}

#globalnav.itz-nav .container {
    position: relative;
}

#globalnav.itz-nav .globalnav-bar {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#globalnav.itz-nav .itz-desktop-nav {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#globalnav.itz-nav .itz-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#globalnav.itz-nav .itz-nav-menu li {
    margin: 0;
}

#globalnav.itz-nav .itz-nav-menu a {
    display: block;
    padding: 10px 16px;
    color: white !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#globalnav.itz-nav .itz-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

#globalnav.itz-nav .itz-nav-menu li.selected a {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Mobile Navigation
   ============================================ */
.itz-mobile-nav-toggle {
    display: none; /* По умолчанию скрыта, показывается только на мобильных */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    color: white;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.itz-mobile-nav-toggle:hover,
.itz-mobile-nav-toggle:active {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Затемнение кнопки hamburger когда меню открыто */
.itz-mobile-nav-toggle.active {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: none !important;
}

.itz-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.itz-hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Убрана анимация гамбургер-крестик, используется простое затемнение */

.itz-mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: linear-gradient(135deg, var(--itz-primary) 0%, var(--itz-primary-light) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3) !important;
    min-width: 200px;
    max-width: 250px;
    width: auto;
    z-index: 100003 !important;
    padding: 0.5rem 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity, transform, visibility;
}

/* Панели мобильного меню (корневое / субнав) */
.itz-mobile-nav-panel {
    display: none;
}
.itz-mobile-nav-panel.itz-mobile-nav-active {
    display: block;
}
.itz-mobile-nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 1rem 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    font-family: inherit;
}
.itz-mobile-nav-back:hover {
    background: rgba(255, 255, 255, 0.2);
}
.itz-mobile-nav-back i {
    font-size: 14px;
}

.itz-nav-menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

.itz-nav-menu-mobile li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.itz-nav-menu-mobile li:last-child {
    border-bottom: none;
}

/* Selected состояние - одинаковое для обоих меню (затемнение как в основном хедере) */
.itz-nav-menu-mobile li.selected a,
.itz-user-dropdown-menu li.selected .itz-user-dropdown-item {
    background: rgba(0, 0, 0, 0.25) !important;
}

.itz-nav-menu-mobile li.selected a::before,
.itz-user-dropdown-menu li.selected .itz-user-dropdown-item::before {
    opacity: 1 !important;
    background: white !important;
}

/* ============================================
   User Profile Dropdown
   ============================================ */
.itz-user-menu-wrapper,
.itz-mobile-menu-wrapper {
    position: relative;
    z-index: 100002 !important;
}

.header .header-right-buttons {
    position: relative;
    z-index: 100002 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    will-change: auto;
    transform: translateZ(0); /* Создаем новый stacking context для стабильности */
}

.itz-user-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    height: 44px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
    text-rendering: optimizeLegibility;
    position: relative;
    flex-shrink: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.itz-user-menu-btn:hover,
.itz-user-menu-btn:active {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Затемнение кнопки профиля когда меню открыто */
.itz-user-menu-wrapper:has(.itz-user-dropdown.active) .itz-user-menu-btn,
.itz-user-menu-btn.active {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: none !important;
}

.itz-user-menu-btn i {
    font-size: 16px;
}

.itz-user-name {
    display: inline-block;
}

.itz-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: linear-gradient(135deg, var(--itz-primary) 0%, var(--itz-primary-light) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3) !important;
    min-width: 200px;
    max-width: 250px;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100003 !important;
    padding: 0.5rem 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity, transform, visibility;
}

.itz-user-dropdown.active,
.itz-mobile-nav.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.itz-user-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.itz-user-dropdown-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.itz-user-dropdown-menu li:last-child {
    border-bottom: none;
}

/* Унифицируем стили для обоих меню - полностью идентичные */
.itz-nav-menu-mobile a,
.itz-user-dropdown-item {
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 20px !important;
    color: white !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Меню ссылок без gap (нет иконок), меню пользователя с gap для иконок */
.itz-nav-menu-mobile a {
    gap: 0 !important;
    border-radius: 0 !important;
}

.itz-user-dropdown-item {
    gap: 12px !important;
}

/* Субнав во всплывающем меню: без полоски, затемнение как в основном хедере */
.itz-mobile-nav-subnav .itz-nav-menu-mobile a::before {
    display: none !important;
}
.itz-mobile-nav-subnav .itz-nav-menu-mobile li.selected a {
    background: rgba(0, 0, 0, 0.25) !important;
}

/* Псевдоэлемент ::before для полоски слева - одинаковый для обоих меню */
.itz-nav-menu-mobile a::before,
.itz-user-dropdown-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

/* Hover эффект - одинаковый для обоих меню (как кнопки в хедере) */
.itz-nav-menu-mobile a:hover,
.itz-user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transform: none !important;
}

.itz-nav-menu-mobile a:hover::before,
.itz-user-dropdown-item:hover::before {
    opacity: 1;
}

/* Иконки в меню пользователя - без анимации */
.itz-user-dropdown-item i {
    width: 20px;
    font-size: 18px;
    text-align: center;
    color: white;
    transition: none;
    flex-shrink: 0;
}

.itz-nav-menu-mobile li:last-child,
.itz-user-dropdown-menu li:last-child {
    border-bottom: none;
}

/* Убеждаемся, что ссылки в меню пользователя занимают всю ширину */
.itz-user-dropdown-menu {
    width: 100%;
}

.itz-user-dropdown-menu li {
    width: 100%;
}

.itz-user-dropdown-menu a {
    width: 100%;
    display: flex;
    align-items: center;
}

.itz-user-logout {
    /* Убрали border-top, так как теперь используется border-bottom на li */
}

/* ============================================
   Responsive
   ============================================ */
/* Мобильное меню для мобильного меню - скрываем десктопное меню раньше */
@media (max-width: 1024px) {
    /* Субнав на мобильных скрыт — содержимое перенесено в выпадающее меню */
    .header-subnav {
        display: none !important;
    }
    /* Убираем отступ под субнав — его нет в диапазоне 768-1024 */
    .header.itz-has-subnav + main.main-content,
    #site .header.itz-has-subnav ~ main.main-content,
    #shop .header.itz-has-subnav ~ main.main-content {
        padding-top: 110px !important;
    }
    .header .itz-desktop-nav {
        display: none !important;
    }
    
    .itz-mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .header .header-right-buttons {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: visible !important;
        position: relative;
    }
    
    .header .itz-user-menu-wrapper,
    .header .itz-mobile-menu-wrapper {
        overflow: visible !important;
    }
    
    .header .container {
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .header .logo {
        flex-shrink: 0;
    }
}

/* Переопределение для мобильных устройств - важно чтобы было после других правил */
@media (max-width: 768px) {
    .header .container,
    header.header .container,
    .header > .container {
        flex-direction: row !important;
        padding: 1rem 15px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        flex-wrap: nowrap !important;
        position: relative !important;
        align-items: center !important;
        justify-content: space-between !important;
        overflow: visible !important;
    }
    
    .header .logo {
        flex-shrink: 0;
        max-height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .header .logo a {
        display: flex;
        align-items: center;
        height: 100%;
        max-height: 100%;
    }
    
    .header .logo-text {
        font-size: 20px;
        padding: 0;
        max-height: calc(100% - 12px);
        height: auto;
        box-sizing: border-box;
        line-height: 1.2;
    }
    
    .header .logo-icon {
        font-size: 24px;
        line-height: 1;
    }
    
    .header .logo-img {
        max-height: 50px;
        height: auto;
    }
    
    /* Убеждаемся, что выпадающие меню не обрезаются */
    .header .header-right-buttons {
        overflow: visible !important;
    }
    
    .header .itz-user-menu-wrapper {
        overflow: visible !important;
    }
    
    .header .itz-mobile-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        background: var(--itz-primary);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        min-width: 200px;
        max-width: 250px;
        width: auto;
        z-index: 100003 !important;
        padding: 0.5rem 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .header .itz-mobile-nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }
    
    /* Стили применяются только к .itz-nav-menu-mobile, не к .nav */
    .header .itz-mobile-nav .itz-nav-menu-mobile a {
        display: flex !important;
        align-items: center !important;
        padding: 1rem 20px !important;
        border-radius: 0;
        gap: 0 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        transition: background 0.3s ease !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .header .itz-mobile-nav .itz-nav-menu-mobile a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    .header .itz-mobile-nav .itz-nav-menu-mobile li.selected a {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Кнопки в ряд с логотипом */
    .header .header-right-buttons {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
        flex-wrap: nowrap;
    }
    
    .header .auth-section {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .itz-mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 44px;
        height: 44px;
    }
    
    .itz-user-menu-btn {
        flex-shrink: 0;
        min-width: 44px;
        height: 44px;
    }
    
    .itz-user-name {
        display: none;
    }
    
    .itz-user-menu-btn {
        padding: 10px 12px;
    }
    
    .itz-user-dropdown {
        right: 0;
        left: auto;
        min-width: 200px;
        max-width: 250px;
        width: auto;
        top: calc(100% + 8px);
        padding: 0.5rem 0;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .main-content {
        padding: 20px;
        padding-top: 120px !important; /* Больше отступ для мобильных из-за вертикального меню (80px хедер + 40px отступ) */
    }
    /* На мобильных субнав в меню, отступ как без субнава */
    .header.itz-has-subnav + main.main-content,
    #site .header.itz-has-subnav ~ main.main-content,
    #shop .header.itz-has-subnav ~ main.main-content {
        padding-top: 120px !important;
    }
    
    .content-card, .content-block {
        padding: 30px 20px;
    }
    
    /* Мобильное меню для глобального хедера */
    #globalnav.itz-nav .itz-desktop-nav {
        display: none !important;
    }
    
    #globalnav.itz-nav .globalnav-bar {
        flex-wrap: nowrap;
    }
}

@media (min-width: 1025px) {
    /* В десктопной версии кнопка гамбургера всегда скрыта */
    .itz-mobile-nav-toggle {
        display: none !important;
    }
    
    /* В десктопной версии мобильное меню всегда скрыто, даже если есть класс active */
    .itz-mobile-nav,
    .itz-mobile-nav.active {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) scale(0.95) !important;
    }
    
    /* В десктопной версии меню пользователя позиционируется относительно кнопки */
    .itz-user-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
    }
}

@media (max-width: 1024px) {
    .itz-mobile-nav {
        position: fixed !important;
    }
}

/* ============================================
   PWA нижнее меню - только в standalone/minimal-ui
   ============================================ */
.itz-pwa-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.99) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--itz-glass-border);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}
/* PWA: скрыть хедер, футер и меню профиля, только нижнее PWA-меню */
@media (display-mode: standalone), (display-mode: minimal-ui) {
    .header,
    header.header,
    .globalheader,
    .itz-header,
    .footer,
    .itz-mynav-bottom {
        display: none !important;
    }
    .itz-pwa-bottom-nav {
        display: block !important;
    }
    .main-content,
    .blockpage-content {
        padding-top: 20px !important;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
    }
}
.itz-pwa-nav-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 0;
}
.itz-pwa-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    color: var(--itz-text-light);
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s, background 0.2s;
    min-height: 56px;
}
.itz-pwa-nav-btn:hover, .itz-pwa-nav-btn.active {
    color: var(--itz-primary);
}
.itz-pwa-nav-btn i {
    font-size: 20px;
}
.itz-pwa-nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ============================================
   Profile Page - Личный кабинет
   ============================================ */
.itz-profile-header {
    padding: 32px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 32px;
}

.itz-profile-header-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--itz-text);
    margin: 0 0 24px 0;
}

.itz-profile-header-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.itz-profile-header-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.itz-profile-header-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--itz-text-light);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.itz-profile-header-logout:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.4);
    color: #f44336;
}

.itz-profile-header-logout i {
    font-size: 1rem;
}

.itz-profile-header-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.itz-profile-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itz-profile-header-initials {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--itz-text-light);
}

.itz-profile-header-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--itz-text);
}

.itz-profile-message {
    padding: 20px 28px;
    border-radius: 18px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.itz-profile-message-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(56, 142, 60, 0.2));
    border-color: rgba(76, 175, 80, 0.4);
    color: #a5d6a7;
}

.itz-profile-message-success i {
    color: #66bb6a;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
}

.itz-profile-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.itz-profile-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 0;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itz-profile-section:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.itz-profile-section-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    padding: 32px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.itz-profile-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.itz-profile-section-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.itz-profile-section-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.itz-profile-section-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.itz-profile-section-title {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--itz-text);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.itz-profile-section-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--itz-text-light);
    font-weight: 400;
    opacity: 0.8;
}

.itz-profile-section-body {
    padding: 40px;
}

/* Profile summary block - grid layout */
.itz-profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.itz-profile-summary-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--itz-text);
    margin-bottom: 16px;
}

.itz-profile-summary-group-title i {
    color: var(--itz-primary);
    font-size: 1.1rem;
}

.itz-profile-summary-section .itz-profile-fields-list {
    margin-bottom: 0;
}

.itz-profile-summary-section .itz-profile-fields-list:last-child {
    margin-bottom: 0;
}

/* Profile fields - elegant list design */
.itz-profile-fields-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.itz-profile-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    gap: 24px;
}

.itz-profile-field-row:last-child {
    border-bottom: none;
}

.itz-profile-field-row:hover {
    background: rgba(255, 255, 255, 0.08);
    padding-left: 36px;
}

.itz-profile-field-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.itz-profile-field-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.25);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.itz-profile-field-row:hover .itz-profile-field-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.itz-profile-field-icon i {
    font-size: 1.1rem;
    color: #667eea;
}

/* Icon colors by field type */
.itz-profile-field-row[data-field-id="email"] .itz-profile-field-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    border-color: rgba(76, 175, 80, 0.3);
}

.itz-profile-field-row[data-field-id="email"] .itz-profile-field-icon i {
    color: #4caf50;
}

.itz-profile-field-row[data-field-id="phone"] .itz-profile-field-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(25, 118, 210, 0.2));
    border-color: rgba(33, 150, 243, 0.3);
}

.itz-profile-field-row[data-field-id="phone"] .itz-profile-field-icon i {
    color: #2196f3;
}

.itz-profile-field-row[data-field-id="firstname"] .itz-profile-field-icon,
.itz-profile-field-row[data-field-id="middlename"] .itz-profile-field-icon,
.itz-profile-field-row[data-field-id="lastname"] .itz-profile-field-icon,
.itz-profile-field-row[data-field-id="name"] .itz-profile-field-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(123, 31, 162, 0.2));
    border-color: rgba(156, 39, 176, 0.3);
}

.itz-profile-field-row[data-field-id="firstname"] .itz-profile-field-icon i,
.itz-profile-field-row[data-field-id="middlename"] .itz-profile-field-icon i,
.itz-profile-field-row[data-field-id="lastname"] .itz-profile-field-icon i,
.itz-profile-field-row[data-field-id="name"] .itz-profile-field-icon i {
    color: #9c27b0;
}

.itz-profile-field-row[data-field-id="company"] .itz-profile-field-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(245, 124, 0, 0.2));
    border-color: rgba(255, 152, 0, 0.3);
}

.itz-profile-field-row[data-field-id="company"] .itz-profile-field-icon i {
    color: #ff9800;
}

.itz-profile-field-row[data-field-id="address"] .itz-profile-field-icon {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(211, 47, 47, 0.2));
    border-color: rgba(244, 67, 54, 0.3);
}

.itz-profile-field-row[data-field-id="address"] .itz-profile-field-icon i {
    color: #f44336;
}

.itz-profile-field-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--itz-text-light);
    opacity: 0.85;
    line-height: 1.4;
}

.itz-profile-field-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.itz-profile-field-value-text {
    font-size: 1rem;
    color: var(--itz-text);
    font-weight: 600;
    word-break: break-word;
    line-height: 1.5;
    text-align: right;
}

.itz-profile-field-value-text a {
    color: var(--itz-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.itz-profile-field-value-text a:hover {
    color: var(--itz-primary);
}

.itz-profile-field-text a {
    color: var(--itz-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.itz-profile-field-text a:hover {
    color: var(--itz-primary);
}

/* Override WebAsyst default form styles */
#wa-my-info-read-wrapper .wa-form {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
    overflow: visible !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field {
    clear: none !important;
    margin: 0 !important;
    padding: 24px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    float: none !important;
    width: auto !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    border-color: rgba(102, 126, 234, 0.4) !important;
    transform: translateY(-4px) !important;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.15) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field:hover::before {
    transform: scaleX(1) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field .wa-name {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--itz-text-light) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    opacity: 0.75 !important;
    line-height: 1.3 !important;
    position: relative !important;
    padding-left: 58px !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field .wa-name::before {
    content: '\f0e0' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25)) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
    font-size: 1.2rem !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(135deg, #667eea, #764ba2) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-email .wa-name::before {
    content: '\f0e0' !important;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(56, 142, 60, 0.25)) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
    background-image: linear-gradient(135deg, #4caf50, #388e3c) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-phone .wa-name::before {
    content: '\f095' !important;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.25), rgba(25, 118, 210, 0.25)) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
    background-image: linear-gradient(135deg, #2196f3, #1976d2) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-name .wa-name::before,
#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-firstname .wa-name::before,
#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-middlename .wa-name::before,
#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-lastname .wa-name::before {
    content: '\f007' !important;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.25), rgba(123, 31, 162, 0.25)) !important;
    border-color: rgba(156, 39, 176, 0.3) !important;
    background-image: linear-gradient(135deg, #9c27b0, #7b1fa2) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-company .wa-name::before {
    content: '\f1ad' !important;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.25), rgba(245, 124, 0, 0.25)) !important;
    border-color: rgba(255, 152, 0, 0.3) !important;
    background-image: linear-gradient(135deg, #ff9800, #f57c00) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field.wa-field-address .wa-name::before {
    content: '\f3c5' !important;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.25), rgba(211, 47, 47, 0.25)) !important;
    border-color: rgba(244, 67, 54, 0.3) !important;
    background-image: linear-gradient(135deg, #f44336, #d32f2f) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field:hover .wa-name::before {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25) !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field .wa-value {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-left: 58px !important;
    min-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 1.1rem !important;
    color: var(--itz-text) !important;
    font-weight: 600 !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    letter-spacing: -0.2px !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field .wa-value a {
    color: var(--itz-text) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

#wa-my-info-read-wrapper .wa-form .wa-field .wa-value a:hover {
    color: var(--itz-primary) !important;
}

.itz-profile-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
}

.itz-profile-toggle-switch {
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.itz-profile-toggle-switch.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: rgba(102, 126, 234, 0.5);
}

.itz-profile-toggle-handle {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.itz-profile-toggle-switch.active .itz-profile-toggle-handle {
    left: 26px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.itz-profile-toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--itz-text);
}

.itz-profile-section-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.itz-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.itz-profile-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.itz-profile-btn-primary::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.6s ease;
}

.itz-profile-btn-primary:hover::before {
    left: 100%;
}

.itz-profile-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.itz-profile-btn-primary:active {
    transform: translateY(-2px);
}

.itz-profile-btn-primary i {
    font-size: 0.95rem;
}

.itz-profile-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--itz-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.itz-profile-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.itz-profile-edit-form .wa-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.itz-profile-edit-form .wa-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.itz-profile-edit-form .wa-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--itz-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.itz-profile-edit-form .wa-value input[type="text"],
.itz-profile-edit-form .wa-value input[type="email"],
.itz-profile-edit-form .wa-value input[type="tel"],
.itz-profile-edit-form .wa-value textarea,
.itz-profile-edit-form .wa-value select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--itz-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.itz-profile-edit-form .wa-value input:focus,
.itz-profile-edit-form .wa-value textarea:focus,
.itz-profile-edit-form .wa-value select:focus {
    outline: none;
    border-color: var(--itz-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.itz-profile-edit-form .wa-value input::placeholder,
.itz-profile-edit-form .wa-value textarea::placeholder {
    color: var(--itz-text-light);
    opacity: 0.6;
}

/* Connected accounts section */
.itz-profile-accounts-section {
    margin-top: 32px;
}

.itz-profile-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.itz-profile-account-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.itz-profile-account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.itz-profile-account-card:hover::before {
    transform: scaleY(1);
}

.itz-profile-account-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.itz-profile-account-connected {
    border-left-color: rgba(76, 175, 80, 0.4);
}

.itz-profile-account-connected::before {
    background: linear-gradient(180deg, #4caf50, #388e3c);
}

.itz-profile-account-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.itz-profile-account-card:hover .itz-profile-account-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.itz-profile-account-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.itz-profile-account-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.itz-profile-account-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--itz-text);
    line-height: 1.3;
}

.itz-profile-account-status,
.itz-profile-account-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.itz-profile-account-status {
    color: #66bb6a;
}

.itz-profile-account-status i {
    font-size: 0.8rem;
}

.itz-profile-account-action {
    color: var(--itz-text-light);
    transition: color 0.3s ease;
}

.itz-profile-account-available:hover .itz-profile-account-action {
    color: var(--itz-primary);
}

.itz-profile-account-action i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.itz-profile-account-available:hover .itz-profile-account-action i {
    transform: rotate(90deg);
}

.itz-profile-accounts-connect {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.itz-profile-accounts-connect-text {
    color: var(--itz-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .itz-profile-header {
        padding: 24px 0 32px;
    }
    
    .itz-profile-header-user {
        flex-direction: column;
        text-align: center;
    }
    
    .itz-profile-header-user-info {
        flex-direction: column;
    }
    
    .itz-profile-header-avatar {
        width: 72px;
        height: 72px;
    }
    
    .itz-profile-header-name {
        font-size: 1.1rem;
    }
    
    .itz-profile-summary-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .itz-profile-section-body {
        padding: 28px 20px;
    }
    
    .itz-profile-section-header {
        padding: 24px 20px;
    }
    
    .itz-profile-section-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .itz-profile-section-title {
        font-size: 1.3rem;
    }
    
    .itz-profile-field-row {
        padding: 20px 24px;
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .itz-profile-field-row:hover {
        padding-left: 24px;
    }
    
    .itz-profile-field-left {
        width: 100%;
    }
    
    .itz-profile-field-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .itz-profile-field-icon i {
        font-size: 1rem;
    }
    
    .itz-profile-field-right {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        margin-top: 8px;
    }
    
    .itz-profile-field-value-text {
        text-align: left;
    }
    
    .itz-profile-accounts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .itz-profile-account-card {
        padding: 16px;
        gap: 12px;
    }
    
    .itz-profile-account-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .itz-profile-account-icon img {
        width: 28px;
        height: 28px;
    }
    
    .itz-profile-section-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .itz-profile-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }
    
    .wa-auth-adapters.wa-connect {
        padding: 28px 20px;
        margin-top: 24px;
    }
    
    .wa-auth-adapters.wa-connect ul {
        flex-direction: column;
        gap: 12px;
    }
    
    .wa-auth-adapters.wa-connect li {
        width: 100%;
    }
}

/* ============================================
   Auth Pages - Страница входа (отдельный layout)
   ============================================ */
body.itz-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--itz-darker) 0%, var(--itz-dark) 50%, #2a1a12 100%) !important;
}

.itz-auth-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.itz-auth-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(247, 147, 30, 0.15), transparent);
    pointer-events: none;
}

.itz-auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.itz-auth-card-inner {
    position: relative;
    z-index: 1;
}

/* Страница входа — центрирование и оформление */
.itz-login-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding: 48px 32px;
}

.itz-login-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

.itz-auth-form {
    color: var(--itz-text);
}

.itz-auth-form .wa-login-form-wrapper,
.itz-auth-form .wa-forgotpassword-form-wrapper,
.itz-auth-form .wa-signup-form-wrapper {
    max-width: 100%;
}

.itz-auth-form .wa-login-form-title {
    display: none;
}

.itz-auth-form .wa-adapters-section,
.itz-auth-form .wa-section-divider {
    margin: 24px 0;
}

.itz-auth-form .wa-adapters-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.itz-auth-form .wa-section-header {
    text-align: center;
    color: var(--itz-text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.itz-auth-form .wa-adapters-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.itz-auth-form .wa-adapters-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    width: 64px !important;
    min-width: 64px !important;
}

.itz-auth-form .wa-adapters-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.itz-auth-form .wa-adapters-list a:hover {
    background: rgba(255, 107, 53, 0.25);
    border-color: var(--itz-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.itz-auth-form .wa-adapters-list img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* WebAsyst ID — крупнее и по центру */
.itz-auth-form .wa-adapters-list a[data-id="webasystID"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.itz-auth-form .wa-adapters-list a[data-id="webasystID"] img {
    width: 48px !important;
    height: 48px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* «Или» по центру */
.itz-auth-form .wa-section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.itz-auth-form .wa-section-divider .wa-text {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--itz-text-light);
    font-size: 1rem;
}

/* Красивые поля ввода */
.itz-auth-form .wa-field,
.itz-auth-form .wa-login-form-fields > * {
    margin-bottom: 20px;
}

.itz-auth-form .wa-field:last-child,
.itz-auth-form .wa-login-form-fields > *:last-child {
    margin-bottom: 0;
}

.itz-auth-form input[type="text"],
.itz-auth-form input[type="email"],
.itz-auth-form input[type="password"],
.itz-auth-form input[type="tel"] {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 2px solid rgba(255, 255, 255, 0.12) !important;
    color: white !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.itz-auth-form input:focus {
    outline: none !important;
    border-color: var(--itz-primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15) !important;
}

.itz-auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Кнопка входа */
.itz-auth-form .wa-forgotpassword-button {
    margin-top: 20px;
}

.itz-auth-form .wa-login-submit,
.itz-auth-form button[type="submit"],
.itz-auth-form .wa-login-form-actions input[type="submit"],
.itz-auth-form .wa-forgotpassword-button input[type="submit"] {
    background: linear-gradient(135deg, var(--itz-primary) 0%, var(--itz-primary-light) 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 28px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    width: 100%;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.itz-auth-form .wa-login-submit:hover,
.itz-auth-form button[type="submit"]:hover,
.itz-auth-form .wa-forgotpassword-button input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.4);
}

.itz-auth-form .wa-signup-url,
.itz-auth-form .wa-forgotpassword-url {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
}

.itz-auth-form .wa-signup-url a,
.itz-auth-form .wa-forgotpassword-url a {
    color: var(--itz-primary-light) !important;
    text-decoration: none;
}

.itz-auth-form .wa-signup-url a:hover,
.itz-auth-form .wa-forgotpassword-url a:hover {
    text-decoration: underline;
}

.itz-auth-back {
    position: fixed;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.itz-auth-back:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--itz-primary-light);
}

