/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Предотвращение зума на мобильных устройствах */
html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Разрешаем выделение текста только в input и textarea */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Стили для всех input элементов */
input {
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

/* Стили для всех input элементов при фокусе */
input:focus {
    outline: none;
    border-color: #FEE600 !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1C1C1C;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 4px;
}

body::-webkit-scrollbar-track {
    background: #646464;
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* Контейнер для ограничения ширины контента */
.app-container {
    max-width: 515px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Хедер */
.header {
    padding: 20px 0;
    padding-bottom: 4px;
    text-align: center;
    background-color: #1C1C1C;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FEE600, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #1C1C1C;
}

/* Основной контент */
.main-content {
    flex: 1;
    padding: 0 16px;
    padding-bottom: 140px; /* Отступ для фиксированного футера */
    overflow-y: auto;
    min-height: 60vh;
}

/* Футер */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #282828;
    padding: 2px 0 8px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    transition: color 0.3s ease;
    padding: 8px 4px;
    border-radius: 8px;
    min-width: 60px;
}
.nav-item:hover {
    cursor: pointer;
}

.nav-item.active {
    color: #FEE600;
}

.nav-item.active .nav-icon svg {
    color: #FEE600;
}

.nav-icon {
    font-size: 20px;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* Индикатор непрочитанных уведомлений */
.nav-icon {
    position: relative;
}

.notification-indicator {
    position: absolute;
    top: 2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: #FEE600;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Стили для страницы поиска */
.search-container {
    margin-top: 2px;
}

.search-card {
    background-color: #282828;
    border-radius: 16px;
    padding: 14px;
    padding-top: 16px;
    margin-bottom: 12px;
}

.search-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.search-subtitle {
    font-size: 14px;
    color: #888;

    margin-bottom: 24px;
}

.search-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-tab.active {
    background-color: #FEE600;
    color: #1C1C1C;
}

.search-input-container {
    position: relative;
    margin-bottom: 6px;
}

.search-input {
    width: 100%;
    padding: 15px 15px 15px 48px;
    border: 1px solid transparent;
    border-radius: 12px;
    background-color: #1C1C1C;
    color: #FFFFFF;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input::placeholder {
    color: #888;
}

.search-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 18px;
}

.search-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background-color: #333;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Фильтр/сортировка */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 16px;
}

.filter-icon {
    color: #888;
    font-size: 18px;
}

.filter-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.filter-arrow {
    color: #888;
    font-size: 12px;
}

/* Список пользователей */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 8px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #282828;
    border-radius: 12px;
    gap: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.user-username {
    font-size: 14px;
    color: #888;
}

.user-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.user-metrics-first-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.elem-rounded-bg {
    background-color: #333;
    border-radius: 12px;
    padding: 2px 6px;
}

.user-price {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.user-rating {
    font-size: 10px;
    color: #FEE600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-deals {
    font-size: 14px;
    color: #888;
}

/* Стили для страницы помощи */
.help-container {
    overflow-x: hidden;
}

.help-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: left;
}

.help-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    width: calc(100% + 4px);
}

.help-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease;
}

.help-tab:first-child {
    flex: 0 0 54%;
}

.help-tab:last-child {
    flex: 0 0 44%;
}

.help-tab.active {
    background-color: #FEE600;
    color: #1C1C1C;
}

.help-tab:hover:not(.active) {
    background-color: #444;
}

/* Список контактов поддержки */
.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s ease;
    opacity: 1;
    transform: translateX(0);
    overflow-x: hidden;
}

.support-contacts.slide-out-left {
    opacity: 0;
    transform: translateX(-25px);
}

.support-contacts.slide-in-right {
    opacity: 0;
    transform: translateX(25px);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #282828;
    border-radius: 14px;
    gap: 10px;
}

.contact-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #333;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
}

.contact-info {
    flex: 1;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.contact-badge {
    display: inline-block;
    background-color: #FEE600;
    color: #1C1C1C;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 10px;
    font-style: bold;
}

.contact-name {
    font-size: 16px;
    font-weight: 500;
}

.contact-username {
    font-size: 14px;
    color: #888;
}

/* Стили для страницы сделок */
.deals-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}

.deals-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.deals-tab {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deals-tab.active {
    background-color: #FEE600;
    color: #1C1C1C;
}

.deals-tab:hover:not(.active) {
    background-color: #444;
}

/* Фильтр сделок */
.deals-filter {
    margin-bottom: 12px;
    position: relative;
}

.filter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    padding-top: 12px;
    padding-left: 16px;
    padding-right: 16px;
    background-color: #282828;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-content:hover {
    background-color: #333;
}

.filter-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-clear {
    color: #888;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-clear:hover {
    color: #FFFFFF;
}

.filter-arrow {
    color: #888;
    font-size: 12px;
}

.filter-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #282828;
    border-radius: 12px;
    margin-top: 4px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.filter-option {
    padding: 12px 16px;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #333;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background-color: #333;
}

/* Карточки сделок */
.deal-card {
    background-color: #282828;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.deal-card:hover {
    cursor: pointer;
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.deal-status {
    background-color: #363636;
    color: #9c9c9c;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
}

.deal-status-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-date {
    color: #888;
    font-size: 11px;
}

.deal-title {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deal-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.deal-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.deal-username {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.deal-user-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4CAF50;
}

.deal-amount {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

/* Индикатор загрузки */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #888;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #333;
    border-top: 3px solid #FEE600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Пустое состояние */
.empty-state {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    min-height: 200px;
}

.empty-card {
    background-color: #282828;
    border-radius: 16px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.empty-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.empty-subtitle {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

/* Стили для страницы уведомлений */
.notifications-container {
    margin-top: 2px;
}

.notifications-header {
    display: flex;

    gap: 8px;
    margin-bottom: 12px;
}

.notifications-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifications-title {
    font-size: 22px;
    font-weight: 500;
    color: #FFFFFF;
}

.notifications-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.notifications-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background-color: #FEE600;
    color: #1C1C1C;
}

.filter-btn.active .filter-text {
    color: #1C1C1C;
}

.filter-text {
    font-size: 14px;
    font-weight: 500;
}

.filter-count {
    font-size: 12px;
    font-weight: 500;
    background-color: #1C1C1C;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
}

.notifications-empty {
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-card-notifications {
    background-color: #282828;
    border-radius: 16px;
    padding: 70px 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Стили для списка уведомлений */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    background-color: #333;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notification-item.unread {
    background-color: #2a2a2a;
}

.notification-item.read {
    background-color: #222222;
}

.notification-item.read .notification-title {
    color: #666;
}

.notification-item.read .notification-time {
    color: #555;
}

.notification-item.read .notification-text {
    color: #777;
}

.notification-content {
    position: relative;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.notification-title {
    font-size: 16px;
    font-weight: 450;
    color: #FFFFFF;
    flex: 1;
    margin-right: 12px;
}

.notification-time {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    white-space: nowrap;
}

.notification-text {
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.notification-unread-indicator {
    position: absolute;
    bottom: 3px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
}

/* Стили для страницы профиля */
.profile-container {
    margin-top: 2px;
}

/* Фоновое изображение профиля */
.profile-bg-wrapper {
    overflow: hidden;
    margin-bottom: -70px;
    position: relative;
    z-index: 1;
}

.profile-bg-image {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.profile-info-wrapper {
    margin-top: -7.5rem;
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
}

/* Карточка профиля с наложением */
.profile-overlay {
    position: relative;
    z-index: 2;
    margin-top: -30px;
    margin-bottom: 4px;
}

.profile-card {
    position: relative;
    background: #282828;
    border-radius: 14px;
    padding: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: flex-start; */
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(90deg, 
        #929292 0%, 
        transparent 50%, 
        #ffd900b9 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.profile-info {
    flex: 1;
    z-index: 1;
    position: relative;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.profile-username {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.user-role-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FEE600;
    color: #1C1C1C;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    z-index: 2;
}

.profile-description {
    font-size: 14px;
    color: #929292;
    line-height: 1.4;
    padding-top: 12px;
    position: relative;
}

.profile-description-text {
    color: #fff;
    font-size: 14px;
}

.profile-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.5%;
    width: 99%;
    height: 1px;
    background-color: #3a3a3a;
}

.profile-actions {
    display: flex;
    gap: 4px;
    z-index: 1;
    position: relative;
}

.profile-actions-secondary {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-service-btn {
    background-color: #FEE600;
    color: #1C1C1C;
}

.add-service-btn:hover {
    background-color: #e6d000;
}

.deposit-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FEE600;
    color: #1C1C1C;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.deposit-btn:hover {
    background-color: #e6d000;
    text-decoration: none;
}

.secondary-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #3a3a3a;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
}

/* Статистика профиля */
.profile-stats {
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.stat-item {
    position: relative;
    background-color: #282828;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    overflow: hidden;
}

.stat-item.rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(-90deg, 
        #a1a1a130 0%, 
        transparent 70%, 
        transparent 70%, 
        #929292 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.stat-item.deals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(-90deg, 
        #a1a1a130 0%, 
        transparent 70%, 
        transparent 70%, 
        #929292 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.stat-item.deposit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(90deg, 
        #a1a1a130 0%, 
        transparent 70%, 
        transparent 70%, 
        #929292 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.stat-item.deals-sum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(90deg, 
        #a1a1a130 0%, 
        transparent 70%, 
        transparent 70%, 
        #929292 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.stat-value {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-value.rating {
    gap: 2px;
    color: #FFD700;
}

.stat-value.deposit {
    color: #FFD700;
}

.stat-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #888;
}

/* Секция отзывов */
.reviews-section {
    border-radius: 16px;
    overflow: hidden;
}

.reviews-header {
    padding: 0;
}

.reviews-btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background-color: #FEE600;
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reviews-btn:hover {
    background-color: #e6d000;
}

.review-count {
    background-color: #1C1C1C;
    color: #FEE600;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.reviews-content {
    padding: 40px 20px;
    text-align: center;
}

.reviews-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #282828;
    border-radius: 12px;
    padding: 40px;
    padding-bottom: 50px;
}

.empty-reviews-icon {
    color: #666;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-reviews-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.empty-reviews-subtitle {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

.telegram-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FEE600;
    color: #000;
}

.settings-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FEE600;
    color: #000;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .header {
        margin-top: 32px;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 12px;
    }

    .main-content {
        padding: 0 12px;
        padding-bottom: 80px; /* Отступ для фиксированного футера */
    }
    
    .search-card {
        padding: 20px;
    }
    
    .user-item {
        padding: 12px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .help-title {
        font-size: 20px;
    }
    
    .deals-title {
        font-size: 20px;
    }
    
    .notifications-title {
        font-size: 20px;
    }
    
    .filter-btn {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .empty-card {
        padding: 32px 20px;
    }
    
    .empty-title {
        font-size: 16px;
    }
    
    .empty-subtitle {
        font-size: 13px;
    }
    
    /* Профиль на мобильных */
    .profile-bg-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }
    
    .profile-card {
        padding: 16px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .action-btn, .secondary-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .reviews-content {
        padding: 32px 16px;
    }
    
    .empty-reviews-title {
        font-size: 16px;
    }
}

/* Стили для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 16px;
    background-color: #2A2A2A;
    border-radius: 12px;
}

.pagination-pages {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background-color: #3C3C3C;
    color: #D0D0D0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #4A4A4A;
    color: #FFFFFF;
}

.pagination-btn.active {
    background-color: #FEE600;
    color: #363636;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Стили для лоадера */
.loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.loader::before {
    content: '';
    width: 35px;
    height: 42px;
    background-color: #FEE600;
    border-radius: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Стили для сообщения "Пользователи не найдены" */
.no-users {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
}

/* Стили для аватара пользователя */
.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Стили для сообщения "Пользователи не найдены" */
.no-users-container {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 200px;
}

.no-users-card {
    background-color: #272727;
    border-radius: 16px;
    padding: 40px 60px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-users-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.no-users-subtitle {
    color: #A0A0A0;
    font-size: 12px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Стили для плашки с результатом поиска */
.search-result-plaque {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #383838;
    border-radius: 7px;
    padding: 5px 10px;
    margin: 10px 0;
    width: fit-content;
}

.search-result-text {
    color: #d8d8d8;
    font-size: 12px;
    font-weight: 500;
}

.clear-search-btn {
    background: none;
    border: none;
    color: #A0A0A0;
    font-size: 14px;
    cursor: pointer;
    padding: 0 0 0 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    color: #FFFFFF;
    background-color: #4A4A4A;
}

/* Новые стили для блока отзывов */
.rating-summary {
    background: #282828;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 10px;
}

.rating-breakdown {
    margin-bottom: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.rating-label {
    color: #fff;
    font-weight: 600;
    min-width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.rating-bar {
    flex: 1;
    height: 5px;
    background: #1C1C1C;
    border-radius: 4px;
    overflow: hidden;
}

.rating-progress {
    height: 100%;
    background: #FFD700;
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
}

.rating-count {
    color: #888;
    font-size: 14px;
    min-width: 20px;
    text-align: right;
}

/* Выпадающее меню сортировки */
.sort-dropdown {
    position: relative;
}

.sort-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1C1C1C;
    border: 1px solid #1C1C1C; /* Изначальный бордер такого же цвета как фон */
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-selector:hover {
    border-color: #a7a7a7; /* Бордер при наведении */
}

.sort-dropdown.active .sort-selector {
    border-color: #FEE600; /* Бордер при активном состоянии (после клика) */
}

.sort-selector span {
    color: #949494;
    font-size: 16px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

/* .sort-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
} */

.sort-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #282828;
    border-radius: 8px;
    margin-top: 4px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sort-dropdown.active .sort-options {
    display: block;
}

.sort-option {
    padding: 10px 16px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {

    color: #FFD700;
}

.sort-option.active {
    color: #fff;
    background: #444;
}

/* Список отзывов */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-item {
    background: #282828;
    border-radius: 12px;
    padding: 12px;
    padding-bottom: 14px;
    position: relative;
}

.review-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #FFF;
}

.reviewer-username {
    color: #888;
    font-size: 14px;
}

.review-right {
    position: absolute;
    top: 15px;
    right: 12px;
}

.review-rating {
    color: #FFD700;
    font-weight: 600;
    font-size: 16px;
    background-color: #383838;
    padding: 8px 8px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.border-line {
    content: '';
    height: 1px;
    background-color: #3a3a3a;
}

.review-content {
    margin-top: 10px;
}

.review-text {
    color: #FFF;
    line-height: 1.25;
    margin-bottom: 8px;
    font-size: 14px;
}

.review-time {
    color: #888;
    font-size: 14px;
}

/* Стили для страницы настроек */
.settings-card {
    width: 100%;
}

.settings-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.setting-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    background-color: #282828;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.setting-section.pin {
    flex-direction: column;
}

.setting-info {
    flex: 1;
    margin-right: 20px;
}

.setting-label {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.setting-description {
    font-size: 14px;
    color: #888;
    line-height: 1.25;
    max-width: 300px;
}

.setting-control {
    flex-shrink: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #888;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #FEE600;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(16px);
    background-color: #fff;
}

/* Кнопка смены PIN-кода */
.pin-change-btn {
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.setting-control.pin {
    width: 100%;
}

/* Уведомления */
.notification {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* Адаптивность для настроек */
@media (max-width: 480px) {    
    .setting-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-control {
        margin-top: 16px;
        align-self: flex-end;
    }
    
    .settings-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .setting-label {
        font-size: 16px;
    }
}

/* Стили для страницы депозита */
.deposit-container {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.deposit-header {
    text-align: center;
    margin-bottom: 32px;
}

.crypto-balances {
    margin-bottom: 26px;
}

.crypto-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #282828;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.crypto-item:hover {
    cursor: pointer;
}

.crypto-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

.crypto-icon.usdt-trc20,
.crypto-icon.usdt-erc20 {
    background: linear-gradient(135deg, #26A17B 0%, #1F8B6B 100%);
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #F7931A 0%, #E67E22 100%);
}

.crypto-icon.bnb {
    background: linear-gradient(135deg, #F3BA2F 0%, #E6A700 100%);
}

.bnb-diamond {
    width: 20px;
    height: 20px;
    background-color: white;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.crypto-info {
    flex: 1;
    margin-right: 16px;
}

.crypto-name {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.crypto-name-small {
    font-size: 12px;
    color: #888888;
}

.crypto-balance {
    text-align: right;
}

.balance-main {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.balance-secondary {
    font-size: 12px;
    color: #888888;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.action-btn {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 12px;
    background-color: #282828;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.action-btn:hover {
    cursor: default;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
}

.btn-text {
    flex: 1;
    text-align: left;
}

.btn-main {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.btn-subtitle {
    font-size: 12px;
    color: #888888;
    font-weight: 500;
    line-height: 1.4;
    max-width: 200px;
}

.btn-arrow {
    color: #888888;
    margin-left: 16px;
}

/* Адаптивность для страницы депозита */
@media (max-width: 480px) {
    .deposit-container {
        padding: 16px;
    }
    
    .crypto-item {
        padding: 12px;
    }
    
    .crypto-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .btn-content {
        padding: 16px;
    }
    
    .btn-main {
        font-size: 15px;
    }
    
    .btn-subtitle {
        font-size: 11px;
    }
}

/* Стили для страницы пополнения депозита */
.deposit-replenish-container {
    padding: 20px;
    margin: 0 auto;
    width: 100%;
}

.deposit-replenish-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.deposit-replenish-card {
    background-color: #282828;
    border-radius: 16px;
    padding: 24px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.network-selection {
    margin-bottom: 4px;
    background-color: #282828;
    border-radius: 16px;
    padding: 18px 12px;
    padding-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.network-label {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-bottom: 6px;
    font-weight: 500;
}

.network-dropdown {
    position: relative;
    width: 100%;
}

.network-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #1C1C1C;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-dropdown-header:hover {
    border: 1px solid #a5a5a5;
}

.network-selected {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.dropdown-arrow {
    color: #888888;
    transition: transform 0.3s ease;
}

.network-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.network-dropdown.active .network-dropdown-header {
    border: 1px solid #FEE600;
}

.network-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #282828;
    border: 8px solid #282828;
    border-radius: 12px;
    z-index: 1000;
    margin-top: 4px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    overflow-y: auto;
}



/* Стили для скроллбара в выпадающем меню */
.network-options::-webkit-scrollbar {
    width: 4px;
}

.network-options::-webkit-scrollbar-track {
    background: #646464;
    border-radius: 3px;
}

.network-options::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 3px;
}

.network-options::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* Стили для страницы деталей криптовалюты */
.crypto-detail-container {
    margin: 0 auto;
    margin-top: 12px;
}

.crypto-balance-card {
    background-color: #282828;
    border-radius: 16px;
    padding: 12px;
    padding-top: 50px;
    margin-bottom: 24px;
    text-align: center;
}

.crypto-info-cd {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-direction: column;
}

.crypto-logo-cd {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 6px;
}

.crypto-logo-cd img,
.crypto-logo-cd svg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.crypto-placeholder-cd {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FEE600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000000;
    font-size: 18px;
}

.crypto-details {
    text-align: left;
}

.crypto-name-cd {
    font-size: 30px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.crypto-balance-cd {
    font-size: 15px;
    color: #c5c5c5;
}

.replenish-button-cd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FEE600;
    color: #000000;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: 12px 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.replenish-button-cd svg {
    margin-right: 8px;
}

.transaction-history-section {
    margin-bottom: 24px;
}

.transaction-history-title {
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.transaction-history-card {
    background-color: #282828;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
}

.no-transactions-icon {
    margin-bottom: 16px;
    color: #888888;
}

.no-transactions-text {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.no-transactions-subtext {
    font-size: 14px;
    color: #888888;
    line-height: 1.4;
}

.network-option {
    padding: 8px 16px;
    font-size: 15px;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-option:last-child {
    border-bottom: none;
}

.network-option:hover {
    color: #FEE600;
}

.network-option.active {
    color: #FEE600;
}

.qr-code-section {
    text-align: center;
    margin-bottom: 1px;
}

.qr-code-container {
    display: inline-block;
    padding: 8px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#qrCode canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.warning-message {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
    font-size: 12px;
    color: #FEE600;
    line-height: 1.5;
    text-align: center;
}

.warning-message span {
    font-weight: 600;
}

.wallet-address-section {
    margin-bottom: 24px;
}

.wallet-address-label {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-bottom: 12px;
    font-weight: 500;
}

.wallet-address-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    background-color: #1C1C1C;
    border-radius: 12px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #FFFFFF;
    word-break: break-all;
    flex: 1;
    margin-right: 12px;
}

.copy-button {
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-button:hover {
    cursor: pointer;
}

.status-section {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 10px;
    background-color: rgba(102, 102, 102, 0.301);
    border-radius: 8px;
}

.status-icon {
    color: #999999;
    margin-right: 12px;
    flex-shrink: 0;
}

.status-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

.check-button {
    width: 100%;
    padding: 16px;
    background-color: #282828;
    border: 1px solid #FEE600;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.check-button:hover {
    background-color: #FEE600;
    color: #1C1C1C;
}

/* Адаптивность для страницы пополнения депозита */
@media (max-width: 480px) {
    .deposit-replenish-container {
        padding: 16px;
    }
    
    .deposit-replenish-card {
        padding: 20px;
    }
    
    .network-dropdown-header {
        padding: 14px;
    }
    
    .network-option {
        padding: 14px;
    }
    
    .qr-code-container {
        padding: 16px;
    }
    
    .wallet-address-container {
        padding: 14px;
    }
    
    .status-section {
        padding: 14px;
    }
    
    .check-button {
        padding: 14px;
    }
}

/* Стили для модального окна депозита */
.deposit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1111;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.deposit-modal.active {
    display: flex;
}

.deposit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.deposit-modal-content {
    position: relative;
    width: 100%;
    background-color: #282828;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1001;
}

.deposit-modal.active .deposit-modal-content {
    transform: translateY(0);
}

.deposit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    padding-bottom: 20px;
}

.deposit-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.deposit-modal-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 30px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    font-weight: 300;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.deposit-modal-close:hover {
    background-color: #404040;
    color: #FFFFFF;
}

.deposit-modal-body {
    padding: 0 12px 12px;
    color: #FFFFFF;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deposit-modal-footer {
    padding: 0 12px 12px 12px;
}

.deposit-modal-close-btn {
    width: 100%;
    padding: 12px;
    background-color: #383838;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-modal-close-btn:hover {
    background-color: #FFD700;
    transform: translateY(-1px);
}

/* Адаптивность для модального окна */
@media (max-width: 480px) {
    .deposit-modal-content {
        border-radius: 16px 16px 0 0;
    }
    
    .deposit-modal-header {
        padding: 16px 20px 12px 20px;
    }
    
    .deposit-modal-title {
        font-size: 16px;
    }
    
    .deposit-modal-body {
        padding: 20px;
    }
    
    .deposit-modal-footer {
        padding: 0 20px 20px 20px;
    }
    
    .deposit-modal-close-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Стили для плашки депозита в модальном окне */
.deposit-plaque {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.deposit-plaque-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deposit-crypto-icons {
    position: relative;
    display: flex;
    align-items: center;
}

.deposit-crypto-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-icon-img {
    width: 40px;
    height: 40px;
}

.deposit-crypto-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.deposit-crypto-name {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.2;
}

.deposit-crypto-subname {
    font-size: 12px;
    color: #888888;
    line-height: 1.2;
}

.deposit-plaque-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.deposit-amount-main {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.2;
}

.deposit-amount-sub {
    font-size: 12px;
    color: #888888;
    line-height: 1.2;
    text-align: right;
}

/* Адаптивность для плашки депозита */
@media (max-width: 480px) {
    .deposit-plaque {
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .deposit-crypto-name {
        font-size: 15px;
    }
    
    .deposit-amount-main {
        font-size: 15px;
    }
}
