.deposit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #00FF88, #00CC6F);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    min-height: 48px;
    height: 48px;
}

.deposit-btn:hover {
    background: linear-gradient(135deg, #00CC6F, #00FF88);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

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

.deposit-icon-plus,
.deposit-icon-dollar {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.deposit-text {
    display: inline;
    line-height: 1;
}

.deposit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.deposit-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}


.deposit-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98), rgba(30, 30, 45, 0.98));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.deposit-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.deposit-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.deposit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 255, 136, 0.05);
    flex-shrink: 0;
}

.deposit-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #00FF88;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.deposit-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-modal-close:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
    color: #FF6B6B;
    transform: rotate(90deg);
}

.deposit-modal-close i {
    font-size: 20px;
}

.deposit-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.deposit-modal-body::-webkit-scrollbar {
    width: 6px;
}

.deposit-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.deposit-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 10px;
}

.deposit-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.5);
}

.current-balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.balance-info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.balance-info-amount {
    font-size: 18px;
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.deposit-amount-section {
    margin-bottom: 24px;
}

.deposit-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 12px;
}

.deposit-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.deposit-input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.deposit-input:focus {
    outline: none;
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.deposit-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.deposit-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #FFD700;
    font-weight: 700;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quick-amount-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-amount-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00FF88;
    transform: translateY(-2px);
}

.quick-amount-btn.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00FF88;
}

.payment-methods-section {
    margin-bottom: 24px;
}

.payment-methods-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 16px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method:hover {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payment-method.selected {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 111, 0.2));
    border-radius: 10px;
    color: #00FF88;
    font-size: 20px;
    flex-shrink: 0;
}

.payment-method.selected .payment-method-icon {
    background: linear-gradient(135deg, #00FF88, #00CC6F);
    color: #000;
}

.payment-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-method-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.payment-method-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.payment-method-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-method.selected .payment-method-check {
    background: #00FF88;
    color: #000;
}

.deposit-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.deposit-submit-btn {
    width: 100%;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00FF88, #00CC6F);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 12px;
}

.deposit-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00CC6F, #00FF88);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.4);
}

.deposit-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.deposit-submit-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}

.deposit-submit-btn i {
    font-size: 20px;
}

.deposit-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
    justify-content: center;
}

.deposit-notice i {
    font-size: 16px;
    color: rgba(0, 255, 136, 0.6);
}

@media (max-width: 767px) {
    .deposit-btn {
        padding: 6px 10px;
        gap: 4px;
        min-width: 44px;
        min-height: 40px;
        height: 40px;
    }

    .deposit-text {
        display: none;
    }

    .deposit-icon-plus,
    .deposit-icon-dollar {
        font-size: 14px;
    }

    .deposit-modal {
        width: 95%;
        max-height: 75vh;
        border-radius: 12px;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.9);
    }

    .deposit-modal.show {
        top: 43%;
        transform: translate(-50%, -50%) scale(1);
    }

    .deposit-modal-header {
        padding: 14px 20px;
    }

    .deposit-modal-title {
        font-size: 17px;
    }

    .deposit-modal-content {
        max-height: 75vh;
    }

    .deposit-modal-body {
        padding: 16px 20px;
        overflow-y: auto;
    }

    .current-balance-info {
        margin-bottom: 16px;
    }

    .deposit-amount-section {
        margin-bottom: 16px;
    }

    .payment-methods-section {
        margin-bottom: 0;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-method {
        padding: 12px;
    }

    .payment-method-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .payment-method-name {
        font-size: 13px;
    }

    .payment-method-desc {
        font-size: 11px;
    }

    .quick-amounts {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .quick-amount-btn {
        padding: 8px;
        font-size: 13px;
    }


    .deposit-modal-footer {
        padding: 14px 20px;
    }

    .deposit-submit-btn {
        padding: 11px 20px;
        font-size: 14px;
    }

    .deposit-notice {
        font-size: 11px;
    }

    .current-balance-info {
        padding: 12px;
    }

    .balance-info-label {
        font-size: 13px;
    }

    .balance-info-amount {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .deposit-modal-title {
        font-size: 16px;
    }

    .payment-method-name {
        font-size: 12px;
    }

    .payment-method-desc {
        font-size: 9px;
    }

    .deposit-input {
        padding: 12px 45px 12px 14px;
        font-size: 15px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.deposit-modal.show {
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
