/**
 * Crypto Icons CSS
 * Styles for cryptocurrency icons used in the payment system
 */

/* Base crypto icon class */
.crypto-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
}

/* Specific cryptocurrency icons */
.crypto-icon-btc {
    background-image: url('/img/crypto/btc.svg');
}

.crypto-icon-eth {
    background-image: url('/img/crypto/eth.svg');
}

.crypto-icon-ltc {
    background-image: url('/img/crypto/ltc.svg');
}

.crypto-icon-xrp {
    background-image: url('/img/crypto/xrp.svg');
}

.crypto-icon-doge {
    background-image: url('/img/crypto/doge.svg');
}

.crypto-icon-usdt {
    background-image: url('/img/crypto/usdt.svg');
}

.crypto-icon-usdc {
    background-image: url('/img/crypto/usdc.svg');
}

.crypto-icon-bnb {
    background-image: url('/img/crypto/bnb.svg');
}

.crypto-icon-ada {
    background-image: url('/img/crypto/ada.svg');
}

.crypto-icon-sol {
    background-image: url('/img/crypto/sol.svg');
}

/* Sizes */
.crypto-icon-sm {
    width: 16px;
    height: 16px;
}

.crypto-icon-md {
    width: 24px;
    height: 24px;
}

.crypto-icon-lg {
    width: 32px;
    height: 32px;
}

.crypto-icon-xl {
    width: 48px;
    height: 48px;
}

/* Crypto currency dropdown styling */
.crypto-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.crypto-select-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    transition: background-color 0.2s;
}

.crypto-select-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.crypto-select-option.selected {
    background-color: rgba(16, 185, 129, 0.1);
}

.crypto-select-option-name {
    font-weight: 500;
    margin-right: 8px;
}

.crypto-select-option-code {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

/* Crypto payment info box */
.crypto-payment-info {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.crypto-payment-info-title {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.crypto-payment-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.crypto-payment-info-label {
    color: rgba(255, 255, 255, 0.7);
}

.crypto-payment-info-value {
    font-weight: 500;
}

/* Crypto payment status indicators */
.crypto-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.crypto-status-pending {
    background-color: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.crypto-status-confirmed {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.crypto-status-failed {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Crypto payment QR code */
.crypto-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0;
}

.crypto-qr-code {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.crypto-qr-address {
    font-family: monospace;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    word-break: break-all;
    text-align: center;
    max-width: 100%;
}

.crypto-qr-copy-btn {
    margin-top: 8px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.crypto-qr-copy-btn:hover {
    background-color: rgba(16, 185, 129, 0.2);
}
