.balance-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px !important; 
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-val {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Шторки */
.info-trigger-item {
    background-color: #2C2C2E;
    border-radius: 16px;
    margin-bottom: 12px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.info-trigger-item:active {
    background-color: #3A3A3C;
    transform: scale(0.98);
}

.info-trigger-arrow {
    color: #C3C3C3;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s ease;
}

.bottom-sheet-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.24s;
}

.bottom-sheet-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1C1C1E;
    border-top-left-radius: 32px; 
    border-top-right-radius: 32px;
    z-index: 2001;
    transform: translateY(110%);
    visibility: hidden; 
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s;
    padding: 18px 24px calc(24px + var(--tg-safe-area-inset-bottom, 0px)) 24px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none; 
    overflow-y: auto;
    max-height: 90vh;
}

.bottom-sheet.active {
    transform: translateY(0);
    visibility: visible;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6); 
}

.sheet-handle {
    width: 36px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 18px auto;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sheet-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.sheet-close-btn {
    background: none;
    border: none;
    color: #8E8E93;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    margin-top: -12px; 
}

.sheet-body {
    font-size: 14.5px;
    line-height: 1.5;
    color: #E5E5EA;
}

/* Админ-панель */
.admin-form-group {
    margin-bottom: 15px;
    width: 100%;
}

.admin-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #8E8E93;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.admin-input {
    width: 100%;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFFFFF;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.admin-input:focus {
    border-color: #008BFF;
}

.admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

/* Статистика премиум-блок */
.stats-premium-card {
    position: relative;
    width: 100%;
    max-width: 352px;
    height: 120px;
    border-radius: 30px;
    overflow: hidden;
    background-color: #1C1C1E;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 25px;
    box-sizing: border-box;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.35),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.35);
}

.stats-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.stats-card-tag {
    font-family: 'SF Pro Text', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
    z-index: 5;
}

.stats-card-title {
    font-family: 'SF Pro Text', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 1.15;
    text-align: left;
    z-index: 5;
    white-space: pre-line;
}

.stats-switcher {
    position: relative;
    width: 100%;
    max-width: 352px;
    height: 48px;
    background-color: rgba(58, 58, 60, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 4px;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.stats-switcher::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.stats-switcher-indicator {
    position: absolute;
    height: 40px;
    width: calc((100% - 12px) / 2);
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    top: 4px;
    left: 6px;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.stats-switcher-indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.stats-switch-item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #C3C3C3;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s ease;
}

.stats-switch-item.active {
    color: #FFFFFF;
}

.stats-tab-content {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stats-tab-content.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

/* Команда / Вступление */
.team-view-container {
    width: 100%;
    max-width: 352px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-top: 10px;
}

.team-title-text {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
    text-align: center;
}

.team-desc-text {
    font-size: 14px;
    line-height: 1.6;
    color: #E5E5EA;
    font-weight: 400;
    margin-bottom: 26px;
    text-align: center;
}

.team-join-btn {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.2s, transform 0.1s;
    margin-bottom: 28px;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.team-join-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.team-join-btn:active {
    transform: scale(0.98);
    background-color: rgba(255, 255, 255, 0.15);
}

.team-join-btn .btn-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.team-join-btn .btn-icon-fallback {
    color: #008BFF;
    flex-shrink: 0;
}

.team-join-btn .btn-text-content {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.1px;
}

/* Разделитель "Вакансии" */
.vacancies-divider {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.vacancies-divider::before,
.vacancies-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.2px solid rgba(255, 255, 255, 0.12);
}

.vacancies-divider::before { margin-right: 16px; }
.vacancies-divider::after { margin-left: 16px; }

.vacancies-title {
    font-size: 14px;
    font-weight: 600;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.vacancies-empty-wrapper {
    width: 100%;
    padding: 24px 0px;
    text-align: center;
    color: #8E8E93;
    font-size: 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.vacancy-lottie-container {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.vacancy-empty-text {
    font-size: 14.5px;
    color: #8E8E93;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* Карточки Вакансий */
#vacancies-list-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.vacancy-card {
    background-color: #2C2C2E;
    border-radius: 20px;
    padding: 18px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vacancy-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.vacancy-desc {
    font-size: 13.5px;
    color: #C3C3C3;
    line-height: 1.45;
    margin-bottom: 14px;
}

.vacancy-apply-btn {
    background-color: rgba(0, 139, 255, 0.15);
    color: #008BFF;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.vacancy-apply-btn:active {
    background-color: rgba(0, 139, 255, 0.3);
    transform: scale(0.98);
}

/* Контейнер кошелька */
.wallet-container {
    width: 100%;
    max-width: 352px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-top: -62px;
    padding-top: 0;
}

/* Премиум блок депозита */
.deposit-premium-block {
    position: relative;
    width: 352px;
    height: 170px;
    background-color: #2C2C2E;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    box-sizing: border-box;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.35),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.35);
}

.deposit-premium-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.wallet-arch-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='15' cy='15' r='8' stroke='rgba(255, 195, 0, 0.35)' stroke-width='1.2' fill='none' /><circle cx='15' cy='15' r='5' stroke='rgba(255, 195, 0, 0.2)' stroke-width='0.8' fill='none' /><path d='M15 12v6M12 15h6' stroke='rgba(255, 195, 0, 0.25)' stroke-width='0.8' /><circle cx='45' cy='45' r='8' stroke='rgba(255, 195, 0, 0.35)' stroke-width='1.2' fill='none' /><circle cx='45' cy='45' r='5' stroke='rgba(255, 195, 0, 0.2)' stroke-width='0.8' fill='none' /><path d='M45 42v6M42 45h6' stroke='rgba(255, 195, 0, 0.25)' stroke-width='0.8' /><path d='M45 15l1 2 2 1-2 1-1 2-1-2-2-1 2-1z' fill='rgba(255,255,255,0.25)' /><path d='M15 45l1 2 2 1-2 1-1 2-1-2-2-1 2-1z' fill='rgba(255,255,255,0.25)' /></svg>");
    background-size: 38px 38px;
    background-repeat: repeat;
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1.0) 20%, rgba(0, 0, 0, 0.15) 90%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1.0) 20%, rgba(0, 0, 0, 0.15) 90%);
}

.wallet-gold-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.45) 0%, rgba(255, 195, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    right: -120px;
    bottom: -160px;
    pointer-events: none;
    z-index: 2;
}

.deposit-card-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.deposit-balance-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.deposit-balance-title {
    font-size: 11px;
    font-weight: 600;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.deposit-balance-section {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.deposit-lottie-coin {
    position: absolute;
    right: 100%;
    margin-right: 8px;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.deposit-balance-value {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -0.5px;
}

.deposit-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.deposit-btn {
    flex: 1;
    height: 42px;
    border-radius: 21px; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.deposit-btn-solid {
    background-color: #FFFFFF;
    color: #000000;
}

.deposit-btn-solid:active {
    background-color: #E5E5EA;
    transform: scale(0.97);
}

.deposit-btn-solid img.deposit-btn-icon {
    filter: brightness(0); 
}

.deposit-btn-glass {
    position: relative;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.deposit-btn-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 21px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.deposit-btn-glass:active {
    background-color: rgba(255, 255, 255, 0.16);
    transform: scale(0.97);
}

.deposit-btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Фильтры и история */
.history-controls-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    box-sizing: border-box;
}

.history-filters-row {
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
    box-sizing: border-box;
}

.history-filters-row::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    position: relative;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.06);
    color: #C3C3C3;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    outline: none;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.filter-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.filter-chip.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-weight: 600;
}

.filter-chip:active {
    transform: scale(0.96);
}

.filter-badge {
    font-size: 10px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.12);
    color: #E5E5EA;
    padding: 1.5px 6px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.filter-chip.active .filter-badge {
    background-color: #008BFF;
    color: #FFFFFF;
}

.search-sort-wrapper {
    display: flex;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
    align-items: center;
}

.search-input-container {
    flex: 1;
    position: relative;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 20px; 
    display: flex;
    align-items: center;
    padding: 0 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.search-input-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 0.9px;
    background: linear-gradient(170deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.search-input-field {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 13.5px;
    padding-left: 24px;
    z-index: 5;
}

.search-input-field::placeholder {
    color: #8E8E93;
}

.search-icon-svg {
    position: absolute;
    left: 16px;
    color: #8E8E93;
    pointer-events: none;
    z-index: 5;
}

.sort-toggle-btn {
    position: relative;
    height: 38px;
    width: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
    transition: background-color 0.2s, transform 0.15s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    outline: none;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
    z-index: 5;
    flex-shrink: 0;
}

.sort-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.sort-toggle-btn:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.15);
}

.history-section-title {
    width: 100%;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 20px; 
    margin-bottom: 14px;
    padding-left: 2px;
}

.history-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.transaction-card {
    background-color: #2C2C2E;
    border-radius: 18px;
    height: 60px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    animation: cardSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardSlideIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.tx-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tx-icon-wrapper {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.15s ease;
    background-color: transparent !important;
}

.tx-icon-wrapper:active {
    transform: scale(0.9);
}

.tx-icon-wrapper img {
    width: 22px; 
    height: 22px; 
    object-fit: contain;
}

.tx-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tx-title {
    font-size: 13.5px; 
    font-weight: 600;
    color: #FFFFFF;
}

.tx-date {
    font-size: 11.5px;
    color: #8E8E93;
}

.tx-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tx-amount {
    font-size: 14px; 
    font-weight: 700;
}

.tx-amount.positive {
    color: #30D158;
}

.tx-amount.negative {
    color: #FF453A;
}

.tx-status {
    font-size: 11px;
    color: #30D158;
    font-weight: 500;
}

.history-empty-wrapper {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px; 
    box-sizing: border-box;
}

.history-lottie-container {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.history-empty-text {
    font-size: 14.5px;
    color: #8E8E93;
    font-weight: 500;
    text-align: center;
}

/* Переключатели Депозита */
.deposit-switcher {
    position: relative;
    width: 100%;
    height: 48px;
    background-color: rgba(58, 58, 60, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 4px;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.deposit-switcher::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.deposit-switcher-indicator {
    position: absolute;
    height: 38px;
    width: calc((100% - 12px) / 2);
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    top: 4px;
    left: 6px;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.deposit-switcher-indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.deposit-switch-item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #C3C3C3;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s ease;
    gap: 8px;
}

.deposit-switch-item.active {
    color: #FFFFFF;
}

.deposit-switch-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.deposit-input-outside-label {
    font-size: 11px;
    font-weight: 600;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 4px;
}

.deposit-input-wrapper {
    position: relative;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 20px; 
    padding: 10px 16px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                inset -8px -8px 28px rgba(0, 0, 0, 0.08);
}

.deposit-input-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 0.9px;
    background: linear-gradient(170deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.deposit-input-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    z-index: 5;
}

.deposit-input-currency-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.deposit-input-currency-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.deposit-input-field {
    background: none;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    flex: 1;
    font-family: inherit;
}

.deposit-limit-warn {
    font-size: 11px;
    color: #FF453A;
    margin-top: 4px;
    margin-bottom: 12px;
    font-weight: 500;
    display: none;
}

.deposit-submit-btn {
    position: relative;
    width: 100%;
    height: 52px;
    background-color: #008BFF;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 35;
    flex-shrink: 0;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.45),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.45);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.2s ease,
                opacity 0.2s ease;
}

.deposit-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.45) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.deposit-submit-btn:active {
    transform: scale(0.97);
    background-color: #0076D6;
}

.deposit-submit-btn-text {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.2px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.2s ease, 
                filter 0.2s ease;
    display: inline-block;
}

.deposit-submit-btn-text.updating {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    filter: blur(4px);
}

.premium-action-btn {
    position: relative;
    width: 100%;
    max-width: 346px;
    height: 52px;
    background-color: #008BFF;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 35;
    flex-shrink: 0;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.45),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.45);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.2s ease,
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform-opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#app-content.visible .premium-action-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.6s;
}

.premium-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 0.9px;
    background: linear-gradient(165deg, 
        rgba(255, 255, 255, 0.45) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.premium-action-btn:active {
    transform: scale(0.97);
    background-color: #0076D6;
}

.btn-text {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}