.add-assets-root {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #1796b0;
    font-family: "Sora", sans-serif;
}

.add-assets-header {
    max-height: 340px;
    display: flex;
    flex-direction: column;
    padding: 12px 0 0 0;
    background: #1796b0;
    margin-bottom: 10px;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 0 12px 12px;
}

.add-asset-back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 30px;
    text-align: left;
    cursor: pointer;
    z-index: 2;
}

.assets-header-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.search-bar {
    margin: 0 12px 10px 12px;
    background: #5eaab8;
    border-radius: 5px;
    padding: 11px 7px;
    box-shadow: 0 2px 10px #0001;
}

.search-bar input {
    border: none;
    background: transparent;
    color: #fff;
    width: 100%;
    font-size: 16px;
    outline: none;
    font-weight: 500;
}

.search-bar input::placeholder {
    color: #b7e3ef;
    opacity: 1;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    margin: 0 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.filter-tab {
    border: none;
    background: #5eaab8;
    color: #fff;
    border-radius: 15px;
    padding: 8px 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    opacity: .98;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.filter-tab.active, .filter-tab:hover {
    background: #fff;
    color: #1697a6;
}

.filter-tab-types {
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 13px;
    margin-left: 6px;
}

.add-assets-content {
    flex: 1 1 75%;
    background: #1697a6;
    /*overflow-y: auto;*/
}

.assets-card {
    background: #fff;
    box-shadow: 0 8px 30px 0 #1d517017;
    padding: 12px 0;
    margin-top: 0;
    height: 100%;
}

#add-asset-curated {
    max-height: 80vh;
    overflow-y: auto;
}

.assets-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #2c516a;
    margin-left: 22px;
    margin-top: 12px;
    margin-bottom: 7px;
    line-height: 1.15;
}

.assets-divider {
    border-top: 1.3px solid #e5eaf0;
    margin: 7px 10px;
}

.assets-section-curated-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
}

.sort-by-btn {
    background: #22b6ff;
    color: #fff;
    font-size: 15.5px;
    font-weight: 800;
    border: none;
    border-radius: 30px;
    padding: 11px 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px 0 #56d3ff30;
    cursor: pointer;
    outline: none;
    margin-left: 12px;
}

.sort-by-btn:active {
    background: #19a4cc;
}

/* Списки токенов */
.assets-list {
    margin: 0;
    padding: 5px 0;
}

.token-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px 12px 4px;
    border-bottom: 1px solid #f0f2f7;
    background: transparent;
    gap: 10px;
}

.token-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f6fa;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.token-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.token-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 15px;
    min-width: 100px;
}

.token-sub,
.token-symbol {
    font-size: 12px;
    color: #8aa3b8;
    margin-top: 2px;
    font-weight: 400;
}

.token-price-block {
    min-width: 120px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.token-price {
    font-size: 14px;
    font-weight: 400;
    color: #146875C4;
    letter-spacing: 0;
}

.token-change {
    font-family: "Avenir Next", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #16b156;
    margin-top: 2px;
    white-space: nowrap;
}

.token-change.down {
    color: #e34b4b;
}

.sort-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #24baff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: 0 8px 36px #24baff33;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
    gap: 8px;
    cursor: pointer;
}


.sort-fab:active {
    background: #139de0;
}

/* Sort POPUP */
.sort-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 36, 51, 0.30);
    z-index: 4;
    opacity: 1;
    transition: opacity 0.18s;
}

.sort-modal-bg.hidden {
    opacity: 0;
    pointer-events: none;
}

.sort-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: #fff;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 8px 32px 0 #18264c28;
    padding: 0 0 22px 0;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.36s cubic-bezier(.41, 1.09, .67, 1),
    opacity 0.16s cubic-bezier(.41, 1.09, .67, 1);
}

.sort-modal.active {
    pointer-events: auto;
    transform: translateY(0%);
}

.sort-modal.hidden {
    pointer-events: none;
    transform: translateY(100%);
}

.sort-modal-bar {
    width: 52px;
    height: 6px;
    background: #e8eef3;
    border-radius: 3px;
    margin: 14px auto 8px auto;
}

.sort-modal-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 17px 0 17px;
}

.sort-modal-title {
    font-size: 18.5px;
    font-weight: 800;
    color: #2a4766;
    letter-spacing: -0.01em;
}

.sort-modal-dir-btn {
    border: none;
    background: #f2f6fc;
    color: #1881d6;
    border-radius: 8px;
    padding: 8px 15px 8px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: background 0.13s, color 0.13s;
}

.sort-modal-dir-btn:hover,
.sort-modal-dir-btn:focus {
    background: #e0ecfa;
    color: #0a6bb7;
}

.sort-modal-dir-btn svg {
    margin-top: 5px;
}

.sort-modal-list {
    margin: 17px 0 0 0;
    padding: 0 7px 0 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sort-modal-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 16px;
    cursor: pointer;
    background: none;
    transition: background 0.11s;
    margin-bottom: 2px;
}

.sort-modal-option.selected,
.sort-modal-option:hover {
    background: #eaf7fa;
}

.option-title {
    font-size: 14px;
    font-weight: 400;
    color: #27496b;
}

.option-desc {
    font-size: 13px;
    color: #9eb5c5;
    margin-top: 1.5px;
    font-weight: 400;
}

.sort-modal-option span {
    margin-left: 10px;
}

/* Save button */
.sort-modal-save-btn {
    display: block;
    width: 90%;
    margin: 22px auto 0 auto;
    padding: 12px 0 12px 0;
    border-radius: 4px;
    border: none;
    background: #1acc7b;
    color: #fff;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px 0 #2bc2de22;
    cursor: pointer;
    transition: background 0.16s;
}

.sort-modal-save-btn:active {
    background: linear-gradient(90deg, #0d87bd, #139c9c 80%);
}

