/* Main Styles - BlockDAG Dashboard v4 */

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Top Bar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: var(--gap-lg);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.logo-gif {
    width: 40px;
    height: 40px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-size: var(--font-3xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-version {
    font-size: var(--font-xl);
    font-weight: var(--font-semibold);
    opacity: 0.8;
}

.topbar-right {
    display: flex;
    gap: var(--gap-md);
}

.topbar-btn {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
}

.topbar-btn:hover {
    background: rgba(0, 148, 255, 0.1);
    transform: translateY(-2px);
}

.beat-vesting {
    position: relative;
}

.beat-vesting-gif {
    width: 40px;
    height: 40px;
}

.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--font-bold);
}

/* Partners Banner */
.partners-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(21, 40, 145, 0.4) 0%, rgba(3, 13, 67, 0.4) 100%);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-xl);
    margin-bottom: var(--gap-lg);
    position: relative;
    overflow: hidden;
}

.partners-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(74, 179, 255, 0.1), 
        transparent);
    animation: partnerShimmer 8s linear infinite;
}

@keyframes partnerShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.partners-label {
    font-size: var(--font-sm);
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--font-semibold);
    margin-right: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
    padding: 0 20px;
}

.partner-logo {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition-normal);
    cursor: pointer;
    filter: brightness(0.9);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.1);
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.partner-logo.token2049 {
    height: 40px;
}

.partner-logo.token2049 img {
    max-width: 140px;
}

.official-partner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.official-text {
    font-size: 9px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    font-weight: var(--font-medium);
}

.official-logo {
    width: 40px;
    height: 40px;
}

.official-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Animation for partner logos on load */
@keyframes fadeInPartner {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.partner-logo {
    animation: fadeInPartner 0.5s ease forwards;
}

.partner-logo:nth-child(1) { animation-delay: 0.1s; }
.partner-logo:nth-child(2) { animation-delay: 0.2s; }
.partner-logo:nth-child(3) { animation-delay: 0.3s; }
.partner-logo:nth-child(4) { animation-delay: 0.4s; }
.partner-logo:nth-child(5) { animation-delay: 0.5s; }
.partner-logo:nth-child(6) { animation-delay: 0.6s; }

/* Rank Notice */
.rank-notice {
    text-align: center;
    padding: var(--gap-md);
    background: rgba(0, 148, 255, 0.1);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--gap-lg);
}

.rank-notice a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Rank Progress Section */
.rank-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-1);
    margin-bottom: 30px;
}

.rank-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rank-info.reverse {
    flex-direction: row-reverse;
}

.rank-icon {
    width: 70px;
    height: 70px;
}

.rank-details h5 {
    font-size: var(--font-lg);
    margin-bottom: 5px;
}

.rank-details p {
    color: var(--text-dim);
    font-size: var(--font-sm);
}

.rank-progress {
    flex: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-indicator {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--font-lg);
}

.progress-bar {
    flex: 1;
    height: 45px;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-md);
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #001dff, var(--primary-light));
    border-radius: calc(var(--radius-md) - 3px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0%;
    transition: width 1s ease;
}

.progress-value {
    color: white;
    font-weight: var(--font-semibold);
    font-size: var(--font-sm);
}

/* Balance Section */
.balance-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.balance-card {
    padding: 25px;
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-1);
    position: relative;
    transition: var(--transition-normal);
}

.balance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.balance-label {
    color: var(--primary-light);
    font-size: var(--font-sm);
    margin-bottom: 10px;
}

.balance-amount {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
}

.balance-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.3;
}

.balance-icon img {
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

/* Purchase Section */
.purchase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.purchase-section {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-1);
    overflow: hidden;
}

.purchase-tabs {
    display: flex;
    background: var(--bg-dark);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: #1a2754;
    border: none;
    color: var(--white);
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn.active {
    background: var(--gradient-orange);
}

.tab-content {
    padding: var(--gap-lg);
    display: none;
}

.tab-content.active {
    display: block;
}

/* Beat Vesting Header */
.beat-vesting-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.beat-vesting-small-gif {
    width: 30px;
    height: 30px;
    animation: rotate 2s linear infinite;
}

.beat-vesting-text {
    color: var(--primary-light);
    font-size: var(--font-xs);
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

/* Promo Buttons */
.promo-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
    margin-bottom: 20px;
}

.promo-btn {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    color: var(--white);
    font-weight: var(--font-bold);
    transition: var(--transition-normal);
    text-align: center;
    font-size: var(--font-sm);
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.promo-btn.orange {
    background: var(--gradient-orange);
}

.promo-btn.blue {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
}

/* Sales Stats */
.sales-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: var(--font-xs);
    color: var(--text-light);
    margin-bottom: 4px;
}

.stat-value {
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
}

/* Sale Progress */
.sale-progress {
    position: relative;
    margin-bottom: 20px;
}

.sale-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: var(--font-sm);
}

.sale-progress-bar {
    height: 48px;
    background: rgba(0, 20, 40, 0.8);
    border-radius: 24px;
    padding: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sale-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.sale-progress-fill {
    height: 100%;
    background: var(--gradient-green);
    border-radius: 20px;
    width: 90%;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(181, 243, 146, 0.3);
}

.sale-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    border-radius: 20px 20px 0 0;
}

.sale-progress-fill::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                0 0 40px rgba(181, 243, 146, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                    0 0 40px rgba(181, 243, 146, 0.6);
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 30px rgba(255, 255, 255, 1),
                    0 0 60px rgba(181, 243, 146, 0.8);
    }
}

/* Price Info */
.price-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    gap: 8px;
}

.current-price {
    color: #ff6b35;
    font-weight: var(--font-semibold);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.payment-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-normal);
    font-weight: var(--font-semibold);
}

.payment-btn:hover {
    background: rgba(74, 179, 255, 0.1);
}

.payment-btn.active {
    background: var(--gradient-orange);
    border-color: transparent;
}

.payment-btn img {
    width: 24px;
    height: 24px;
}

/* Other Cryptos */
.other-cryptos {
    background: var(--gradient-orange);
    padding: 12px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    gap: var(--gap-md);
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.other-cryptos:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.crypto-icons {
    display: flex;
    gap: var(--gap-sm);
    align-items: center;
}

.crypto-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-fast);
}

.crypto-icon:hover {
    transform: scale(1.2);
}

.crypto-icon.extra {
    width: 28px;
    height: 28px;
}

.other-cryptos-text {
    color: var(--white);
    font-weight: var(--font-semibold);
}

/* Amount Input */
.amount-input-wrapper {
    position: relative;
    margin-bottom: var(--gap-md);
}

.amount-input {
    width: 100%;
    height: 56px;
    padding: 0 80px 0 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--font-base);
}

.amount-input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.currency-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: var(--font-semibold);
    color: var(--text-light);
}

.max-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-light);
    cursor: pointer;
    font-weight: var(--font-semibold);
    font-size: var(--font-xs);
}

.min-amount {
    color: #ff4757;
    font-size: var(--font-xs);
    margin-bottom: 15px;
}

.trade-promo {
    text-align: center;
    font-size: var(--font-sm);
    margin-bottom: var(--gap-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
}

.trade-promo strong {
    color: var(--primary-light);
}

.copy-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.bdag-worth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.worth-label {
    color: var(--primary-light);
    font-size: var(--font-sm);
}

.worth-amount {
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
}

/* Buy Button */
.buy-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-blue);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: var(--transition-normal);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.buy-btn:disabled {
    background: #404040;
    cursor: not-allowed;
}

/* Promo Code */
.promo-code {
    border-top: 1px solid var(--border-1);
    padding-top: 20px;
    margin-top: 20px;
}

.promo-input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.promo-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #22c55e;
    border-radius: var(--radius-md);
    color: white;
}

.promo-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    font-size: var(--font-xs);
}

.promo-active {
    color: #22c55e;
    font-size: var(--font-xs);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-modal-backdrop);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Popup Modals */
.modal-popup {
    background: linear-gradient(180deg, #1a2754 0%, #0a0e27 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    animation: popupSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 148, 255, 0.3);
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.popup-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    margin-bottom: 20px;
    color: var(--primary-light);
}

.popup-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.popup-gif {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: block;
    animation: rotate 2s linear infinite;
}

.popup-title {
    text-align: center;
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    margin-bottom: 20px;
}

.popup-title span {
    display: block;
    font-size: var(--font-lg);
    color: var(--primary-light);
    margin-top: 8px;
}

.popup-countdown {
    text-align: center;
    margin-bottom: 20px;
    font-size: var(--font-lg);
    color: var(--warning);
}

.countdown-timer b {
    color: var(--primary-light);
    font-size: var(--font-xl);
}

.popup-note {
    text-align: center;
    margin-bottom: 15px;
    font-size: var(--font-base);
    line-height: 1.6;
}

.popup-list {
    list-style: none;
    margin-bottom: 20px;
}

.popup-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.popup-list li p {
    font-size: var(--font-sm);
    line-height: 1.5;
}

.popup-btns {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
}

.popup-button {
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    font-weight: var(--font-bold);
    font-size: var(--font-base);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.popup-button.primary {
    background: var(--gradient-orange);
    color: white;
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.button-wrap {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Beat Vesting Popup Specific */
.beat-vesting-popup .popup-title span {
    font-size: var(--font-base);
    line-height: 1.4;
}

/* Win Popup Specific */
.win-popup .popup-head {
    font-size: var(--font-xl);
}

/* Modal Content (for Crypto Selection Modal) */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 554px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gap-lg);
    border-bottom: 1px solid var(--border-1);
}

.modal-header h2 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: var(--gap-lg);
}

.amount-display {
    text-align: center;
    margin-bottom: var(--gap-lg);
    padding: var(--gap-lg);
    background: rgba(0, 148, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-1);
}

.amount-display h3 {
    font-size: var(--font-base);
    font-weight: var(--font-normal);
    margin-bottom: var(--gap-sm);
    color: var(--text-light);
}

.modal-amount-usd {
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--gap-md);
}

.modal-bdag-worth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    font-size: var(--font-sm);
    color: var(--text-light);
}

.modal-bdag-worth strong {
    color: var(--primary-light);
    font-weight: var(--font-bold);
}

.search-section {
    margin-bottom: var(--gap-lg);
}

.search-section h3 {
    font-size: var(--font-base);
    margin-bottom: var(--gap-md);
}

.search-input {
    width: 100%;
    height: 48px;
    padding: 0 var(--gap-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--font-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.currency-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: var(--gap-lg);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    padding: var(--gap-sm);
}

.currency-list::-webkit-scrollbar {
    width: 6px;
}

.currency-list::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 3px;
}

.currency-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--gap-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.currency-item:hover {
    background: rgba(74, 179, 255, 0.1);
    border-color: var(--primary);
}

.currency-item.selected {
    background: rgba(74, 179, 255, 0.2);
    border-color: var(--primary-light);
}

.currency-item input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.currency-item img {
    width: 32px;
    height: 32px;
}

.currency-item span {
    font-size: var(--font-base);
    font-weight: var(--font-semibold);
}

.modal-select-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-blue);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* Blur effect when modal is open */
body.modal-open .container {
    filter: blur(5px);
    transition: filter var(--transition-normal);
}