/* Buttons */
button, .action-btn {
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: none;
    text-decoration: none;
}

.action-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.action-btn.outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.action-btn.highlight {
    background: #5ea4ff;
    /* Exact bright blue from screenshot */
    color: #ffffff;
    border: 1px solid #5ea4ff;
    box-shadow: 0 4px 14px rgba(94, 164, 255, 0.25);
}

.action-btn.highlight:hover {
    background: #4b92ec;
    border-color: #4b92ec;
    box-shadow: 0 6px 20px rgba(94, 164, 255, 0.4);
    transform: translateY(-2px);
}

.add-asset-modal-content {
    max-width: 900px;
    padding: 2.5rem;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.add-asset-modal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Stack side-by-side in modal */
    gap: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

/* Fallback for smaller screens */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    background: #111111;
    /* Dark background matching the screenshot */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-actions-modal {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.submit-btn {
    background: #25282c;
    /* Screenshot exact button color */
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #2a2f36;
    border-color: rgba(255, 255, 255, 0.1);
}

.cancel-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.cancel-btn:hover {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border-color: #f85149;
}

/* Table Section */
.table-section {
    padding: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 400px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
    gap: 1rem;
}

.table-header-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    /* Prevent row from collapsing when long values appear */
    min-height: 48px;
}

.total-balance-inline {
    background: rgba(88, 166, 166, 0.05);
    border: 1px solid var(--accent-color);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.1);
}

.total-pl-inline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    transition: var(--transition);
}

.balance-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.balance-value {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    /* Prevent layout shift when value text changes length */
    min-width: 120px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tl-rate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(210, 153, 34, 0.1);
    border: 1px solid rgba(210, 153, 34, 0.4);
    color: #d29922;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.tl-rate-btn:hover {
    background: rgba(210, 153, 34, 0.2);
    border-color: #d29922;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 153, 34, 0.2);
}

.tl-rate-btn.active {
    background: #d29922;
    color: #0d1117;
    border-color: #d29922;
    box-shadow: 0 0 15px rgba(210, 153, 34, 0.4);
}

body.light-mode .tl-rate-btn.active {
    background: #d29922;
    color: #ffffff;
    border-color: #d29922;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.search-box input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #111111;
    /* Darker bg for table area */
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 120px;
}

th {
    background: #111111;
    color: #1ba2f1;
    /* Bright blue headers like screenshot */
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

tbody tr {
    transition: var(--transition);
    background: #111111;
    /* Dark rows */
}

tbody tr:hover {
    background: #1a1a1a;
    /* Slight hover effect */
}

tbody tr:last-child td {
    border-bottom: none;
}

td {
    font-size: 0.95rem;
    white-space: nowrap;
    color: #ffffff;
}

.asset-name-bold {
    font-weight: 800;
    font-size: 1.05rem;
}

/* Last Edit Tooltip */
.has-tooltip {
    position: relative;
    cursor: default;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 1px;
}

.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 166, 255, 0.25);
    color: #8b949e;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.has-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.amount-bold {
    font-weight: 700;
}

/* Amount Bar Styles */
.amount-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 100px;
}

.amount-text {
    font-weight: 500;
}

.amount-bar-bg {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.amount-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1ba2f1, #00d2ff);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Risk Badges */
.risk-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.risk-low {
    background: rgba(46, 160, 67, 0.1);
    color: #2ea043;
    border: 1px solid rgba(46, 160, 67, 0.3);
}

.risk-medium {
    background: rgba(210, 153, 34, 0.1);
    color: #d29922;
    border: 1px solid rgba(210, 153, 34, 0.3);
}

.risk-high {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.3);
}

tbody tr.row-risk-low td:first-child {
    border-left: 4px solid #2ea043;
}
tbody tr.row-risk-medium td:first-child {
    border-left: 4px solid #d29922;
}
tbody tr.row-risk-high td:first-child {
    border-left: 4px solid #f85149;
}

.profit-text {
    color: #2ea043 !important;
}

.loss-text {
    color: #f85149 !important;
}

/* Action Icons */
.row-actions {
    display: flex;
    gap: 0.8rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 4px;
}

.icon-btn.edit:hover {
    color: var(--accent-color);
    background: rgba(88, 166, 255, 0.1);
}

.icon-btn.delete:hover {
    color: #f85149;
    background: rgba(248, 81, 73, 0.1);
}

.icon-btn.watchlist-move:hover {
    color: #e3b341;
    background: rgba(227, 179, 65, 0.1);
}

.icon-btn.portfolio-move:hover {
    color: var(--accent-color);
    background: rgba(88, 166, 255, 0.1);
}

.date-text {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-secondary);
    text-align: center;
    gap: 1rem;
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.5;
}

.hidden {
    display: none !important;
}

/* New WhaleStack About Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.new-about-modal {
    background: var(--modal-bg);
    padding: 3rem;
    width: 90%;
    max-width: 650px;
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--modal-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Inter', sans-serif;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.close-btn,
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: #8b949e;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover,
.close-modal:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

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

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-flex-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.about-image-col {
    flex-shrink: 0;
}

.modal-whale-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-info-col {
    display: flex;
    flex-direction: column;
}

.about-info-col h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.author-info {
    margin-bottom: 1.5rem;
}

.author-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.author-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

.about-links {
    display: flex;
    gap: 1rem;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #374151;
    background: transparent;
    color: #d1d5db;
}

.website-btn i {
    color: #3b82f6;
}

.github-btn i {
    color: #f97316;
}

.about-btn:hover {
    background: #1f2937;
    color: #fff;
    border-color: #4b5563;
}

.about-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-top: 1px solid #1f2937;
    padding-top: 1.5rem;
    color: #4b5563;
    font-size: 0.85rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.dot {
    margin: 0 0.2rem;
    font-size: 1rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--row-green-border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: slideInRight 0.3s ease forwards;
    transition: opacity 0.3s ease;
}

.toast i {
    color: #2ea043;
    font-size: 1.2rem;
}

.toast.error {
    border-color: var(--row-red-border);
}

.toast.error i {
    color: #f85149;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Tools Modal & Grid Styles */
.tools-modal-content {
    background: var(--modal-bg);
    max-width: 850px; /* Increased for 2 columns */
    padding: 2.5rem;
    border-radius: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.tool-card:hover {
    background: rgba(88, 166, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.tool-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.tool-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Coin table cell layouts and logos */
.coin-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.coin-table-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coin-table-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coin-info-cell {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.asset-fullname {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Suggestion Dropdown Auto-Complete */
.asset-input-wrapper {
    position: relative;
    width: 100%;
    /* Stacking context: dropdown must float above all siblings */
}

.suggest-dropdown {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    width: 100%;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    /* High z-index so it floats above coinApiInfo and manualFields */
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    margin-top: 4px;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggest-item:hover {
    background: rgba(88, 166, 255, 0.1);
}

.suggest-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.suggest-symbol {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.suggest-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Coin API Info Preview Box */
.coin-api-info-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    /* Flow naturally below the input inside asset-input-wrapper */
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.3s ease;
}

.info-coin-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

#infoCoinText {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Manual Fallback Fields Section */
.manual-fields-section {
    grid-column: span 4;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: 0.8rem;
    animation: fadeIn 0.3s ease;
}

.manual-fields-title {
    font-size: 0.8rem;
    color: #f08c00;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-row-manual {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .form-row-manual {
        grid-template-columns: 1fr !important;
    }
    .manual-fields-section {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .manual-fields-section {
        grid-column: span 1;
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: var(--panel-bg);
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(15px);
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
}


/* Watchlist Styling */
.watchlist-section {
    margin-top: 1.5rem;
}

.watchlist-add-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.watchlist-add-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.watchlist-add-form input:focus {
    border-color: var(--accent-color);
}

/* Section divider for unified glass panels */
.section-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}


/* Glow highlight effect when navigating to Watchlist */
.glass-panel.glow-active {
    box-shadow: 0 0 35px rgba(88, 166, 255, 0.45);
    border-color: var(--accent-color);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Fallback span logos */
.suggest-logo-fallback {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-coin-logo-fallback {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Destination Segmented Toggle */
.destination-toggle-container {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 320px;
}

.dest-toggle-label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    user-select: none;
}

.dest-toggle-label:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.dest-toggle-label.active {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

