.solo-package-modal .steps-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.solo-package-modal .steps-indicator .current-step {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}
.solo-package-modal .steps-wrapper {
    position: relative;
    min-height: 350px;
    margin-top: 1rem;
}
.solo-package-modal .step-content {
    transition: opacity 0.2s;
}
.solo-package-modal .step-content.d-none {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    width: 100%;
}
.solo-package-modal .package-summary {
    margin-top: 0.75rem;
}
.solo-package-modal .review-addresses {
    margin-top: 0.5rem;
}
.solo-package-modal .form-check-label {
    font-size: 1rem;
}
.solo-package-modal #termsError {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: block;
}
.solo-package-modal .modal-footer button:disabled {
    opacity: 0.6;
    pointer-events: none;
}
.solo-package-modal .modal-footer {
    gap: 0.5rem;
}
.packages-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.packages-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.packages-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Coin-specific colors for the top bar */
.packages-card[data-coin="btc"]::before {
    background: #f7931a; /* Bitcoin Orange */
}

.packages-card[data-coin="bc2"]::before {
    background: #f7931a; /* Bitcoin Orange */
}

.packages-card[data-coin="bch"]::before {
    background: #8dc351; /* Bitcoin Cash Green */
}

.packages-card[data-coin="btcs"]::before {
    background: rgba(191, 191, 191, 1); /* Bitcoin Silver */
}

.packages-card[data-coin="rvn"]::before {
    background: #384182; /* Ravencoin Dark Blue */
}

.packages-card[data-coin="kas"]::before {
    background: #70c7ba; /* Kaspa */
}

.packages-card[data-coin="ltc"]::before {
    background: #b8b8b8; /* Litecoin Silver */
}

.packages-card[data-coin="doge"]::before {
    background: #c2a633; /* Dogecoin Gold */
}

.packages-card[data-coin="ltc+doge"]::before {
    background: #c2a633; /* Dogecoin Gold */
}

.packages-card[data-coin="dgb"]::before {
    background: #0066cc; /* Digibyte Blue */
}

.packages-card[data-coin="clore"]::before {
    background: #f73737; /* Clore Red */
}

.packages-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.marquee-container {
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.08),
        rgba(111, 66, 193, 0.05)
    );
    border-radius: var(--bs-border-radius);
    padding: 15px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

[data-bs-theme="dark"] .marquee-container {
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.08),
        rgba(111, 66, 193, 0.05)
    );
    color: #e9ecef;
}

.static-message {
    flex: 0 0 auto;
    font-size: 1.2rem;
    font-weight: bold;
    color: #495057;
}

[data-bs-theme="dark"] .static-message {
    color: #e9ecef;
}

.divider {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #495057, #a1a1a1, #495057);
    margin: 0 15px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
}

.marquee-content {
    display: inline-flex; /* Changed to inline-flex for better control over looping */
    animation: marquee 15s linear infinite; /* Reduced duration for smoother testing; adjust as needed */
    white-space: nowrap;
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 20px;
    font-size: 1.2rem;
    color: #495057;
    background-color: rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .marquee-item {
    color: #ced4da;
    background-color: rgba(255, 255, 255, 0.04);
}

@keyframes marquee {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }
    100% {
        transform: translateX(
            -50%
        ); /* Move exactly half the content width (since we duplicated items) */
    }
}

/* Optional: Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Mempool-Style Block Visualization */
.block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.block-list-inline {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 0.5rem;
}

.block-list-inline .block-item {
    min-width: 220px;
}

@media (max-width: 991.98px) {
    section[data-recent-blocks] .block-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    section[data-recent-blocks] .block-item {
        width: auto;
        flex: 0 0 260px;
        max-width: 260px;
        scroll-snap-align: start;
    }
}

@media (max-width: 575.98px) {
    section[data-recent-blocks] .block-item {
        flex-basis: 85vw;
        max-width: 85vw;
    }
}

.block-item {
    background-color: #fff;
    border: var(--bs-border-width) solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius);
    padding: 15px;
    width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

[data-bs-theme="dark"] .block-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.block-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.block-item-link:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.6);
    outline-offset: 3px;
}

.block-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.block-item[data-coin="btc"]::before {
    background: #f7931a; /* Bitcoin Orange */
}

.block-item[data-coin="bc2"]::before {
    background: #f7931a; /* Bitcoin Orange */
}

.block-item[data-coin="bch"]::before {
    background: #8dc351; /* Bitcoin Cash Green */
}

.block-item[data-coin="btcs"]::before {
    background: rgba(191, 191, 191, 1); /* Bitcoin Silver */
}

.block-item[data-coin="rvn"]::before {
    background: #384182; /* Ravencoin Dark Blue */
}

.block-item[data-coin="kas"]::before {
    background: #70c7ba; /* Kaspa */
}

.block-item[data-coin="ltc"]::before {
    background: #b8b8b8; /* Litecoin Silver */
}

.block-item[data-coin="doge"]::before {
    background: #c2a633; /* Dogecoin Gold */
}

.block-item[data-coin="ltc+doge"]::before {
    background: #c2a633; /* Dogecoin Gold */
}

.block-item[data-coin="dgb"]::before {
    background: #0066cc; /* Digibyte Blue */
}

.block-item[data-coin="clore"]::before {
    background: #f73737; /* Clore Red */
}

.block-item h6 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.block-item p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.block-item small {
    font-size: 0.8rem;
    color: #6c757d;
}

.coin-cell {
    display: flex;
    align-items: center;
}

.coin-cell img {
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* Mining Tabs Container */
.mining-tabs-container .tab-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mining-tabs-container .tabs-scroll-button {
    border: none;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.mining-tabs-container .tabs-scroll-button:hover {
    background: rgba(13, 110, 253, 0.16);
    color: #084298;
}

.mining-tabs-container .tabs-scroll-button.is-disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.mining-tabs-container .tabs-scroll-area {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}

.mining-tabs-container .tabs-scroll-area::-webkit-scrollbar {
    display: none;
}

.mining-tabs-container .tabs-scroll-area {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mining-tabs-container .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.08),
        rgba(111, 66, 193, 0.05)
    );
    border-radius: 5px;
    padding: 4px;
    width: max-content;
    min-width: 100%;
    scroll-snap-type: x proximity;
}

.mining-tabs-container .nav-item {
    flex: none;
    scroll-snap-align: start;
}

.mining-tabs-container .nav-link {
    color: #495057;
    background: transparent;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0;
}

.mining-tabs-container .nav-link.active {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.mining-tabs-container .nav-link:not(.active):hover {
    background: #dee2e6;
    color: #007bff;
}

.mining-tabs-container .duration-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mining-tabs-container .duration-filter .form-select {
    max-width: 200px;
}

@media (min-width: 992px) {
    .mining-tabs-container .duration-filter {
        justify-content: flex-end;
    }
}

[data-bs-theme="dark"] .mining-tabs-container .tabs-scroll-button {
    background: rgba(110, 168, 254, 0.12);
    color: #6ea8fe;
}

[data-bs-theme="dark"] .mining-tabs-container .tabs-scroll-button:hover {
    background: rgba(110, 168, 254, 0.24);
    color: #cfe2ff;
}

[data-bs-theme="dark"] .mining-tabs-container .nav {
    background: linear-gradient(
        135deg,
        rgba(110, 168, 254, 0.16),
        rgba(111, 66, 193, 0.12)
    );
}

[data-bs-theme="dark"] .mining-tabs-container .nav-link {
    color: #ced4da;
}

[data-bs-theme="dark"] .mining-tabs-container .nav-link.active {
    color: #fff;
    box-shadow: 0 2px 8px rgba(110, 168, 254, 0.3);
}

[data-bs-theme="dark"] .mining-tabs-container .nav-link:not(.active):hover {
    background: #3a3f50;
    color: #6ea8fe;
}

@media (max-width: 576px) {
    .mining-tabs-container .tabs-scroll-button {
        width: 34px;
        height: 34px;
    }

    .mining-tabs-container .nav-link {
        padding: 8px 12px;
    }

    .mining-tabs-container .duration-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .mining-tabs-container .duration-filter .form-select {
        width: 100%;
    }
}

.package-details h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.package-details ul {
    margin-bottom: 1rem;
}

.package-details li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007bff;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coin-icon {
    width: 24px;
    height: 24px;
}

.coin-name {
    font-size: 1.1rem;
    color: #333;
}

.price,
.total-cost {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.quantity-input {
    background: #fff;
    border: 1px solid #ced4da;
    color: #333;
}

.quantity-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

.payout-address .form-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
}

.payout-address .form-select {
    background: #fff;
    color: #333;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.payout-address .form-select:focus {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

[data-bs-theme="dark"] .package-header {
    background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .package-name {
    color: #6ea8fe;
}

[data-bs-theme="dark"] .coin-name {
    color: #d1d5db;
}

[data-bs-theme="dark"] .package-details h6 {
    color: #6ea8fe;
}

[data-bs-theme="dark"] .payout-address .form-label {
    color: #6ea8fe;
}

[data-bs-theme="dark"] .price,
[data-bs-theme="dark"] .total-cost {
    color: #d1d5db;
}

[data-bs-theme="dark"] .quantity-input {
    background: #2c303f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

[data-bs-theme="dark"] .quantity-input:focus {
    border-color: #6ea8fe;
    box-shadow: 0 0 5px rgba(110, 168, 254, 0.3);
}

[data-bs-theme="dark"] .payout-address .form-select {
    background: #2c303f;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .payout-address .form-select:focus {
    background: #3a3f50;
    border-color: #6ea8fe;
    box-shadow: 0 0 5px rgba(110, 168, 254, 0.3);
}

@media (max-width: 576px) {
    .package-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.quantity-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem; /* Space between elements */
}

.quantity-input {
    width: 100px; /* Keep the width fixed */
}

.total-cost {
    margin-bottom: 0; /* Remove bottom margin to align with input */
    white-space: nowrap; /* Prevent total price from wrapping */
}

@media (max-width: 576px) {
    .quantity-selector {
        flex-direction: row; /* Keep row layout but allow wrapping */
    }

    .quantity-input {
        width: 80px; /* Slightly smaller on mobile */
    }
}

/* Altcoins Mining Table Styles (Light Mode) */
.altcoins-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    color: #333;
}

.altcoins-table thead {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
}

.altcoins-table th {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.altcoins-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.altcoins-table tbody tr:hover {
    background: rgba(0, 123, 255, 0.05);
}

.altcoins-table td {
    padding: 1rem;
    font-size: 0.95rem;
    vertical-align: middle;
}

.altcoins-table .coin-info {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #007bff;
}

.altcoins-table .coin-info i {
    font-size: 1.2rem;
}

.altcoins-table .coming-soon-btn {
    background: linear-gradient(90deg, #007bff, #0056b3);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.altcoins-table .coming-soon-btn:hover {
    background: linear-gradient(90deg, #0056b3, #007bff);
}

/* Altcoins Mining Table Styles (Dark Mode) */
[data-bs-theme="dark"] .altcoins-table {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .altcoins-table thead {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .altcoins-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .altcoins-table tbody tr:hover {
    background: rgba(110, 168, 254, 0.1);
}

[data-bs-theme="dark"] .altcoins-table .coin-info {
    color: #6ea8fe;
}

[data-bs-theme="dark"] .altcoins-table .coming-soon-btn {
    background: linear-gradient(90deg, #6ea8fe, #3b82f6);
}

[data-bs-theme="dark"] .altcoins-table .coming-soon-btn:hover {
    background: linear-gradient(90deg, #3b82f6, #6ea8fe);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .altcoins-table th,
    .altcoins-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .altcoins-table .coming-soon-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .altcoins-table th,
    .altcoins-table td {
        font-size: 0.85rem;
    }

    .altcoins-table .coin-info i {
        font-size: 1rem;
    }
}

.solo-hero-section {
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.08),
        rgba(111, 66, 193, 0.05)
    );
    border-radius: var(--bs-border-radius);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.solo-hero-section::before {
    content: "";
    position: absolute;
    inset: -40% 60% auto -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(
        circle at center,
        rgba(0, 123, 255, 0.2),
        transparent 70%
    );
    opacity: 0.8;
    pointer-events: none;
}

.solo-hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% 55%;
    width: 220px;
    height: 220px;
    background: radial-gradient(
        circle at center,
        rgba(13, 110, 253, 0.12),
        transparent 70%
    );
    opacity: 0.6;
    pointer-events: none;
}

.solo-hero-section .badge {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.75);
}

.solo-hero-section .card {
    border-radius: var(--bs-border-radius);
}

[data-bs-theme="dark"] .solo-hero-section .badge {
    background: linear-gradient(
        135deg,
        rgb(26, 26, 46) 0%,
        rgb(22, 33, 62) 100%
    );
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .solo-hero-section {
        border-radius: var(--bs-border-radius);
        padding-inline: 1.25rem;
    }

    .solo-hero-section::before,
    .solo-hero-section::after {
        display: none;
    }
}
