/* 钱包和币种相关模块样式 */

/* ETH钱包创建和查询钱包按钮 (蓝色) */
.row button:nth-child(4),
.row button:nth-child(5) {
    background: linear-gradient(90deg, #60a5fa 0%, #818cf8 100%);
}

/* ETH查询和转账按钮 (粉色) */
.row button:nth-child(6),
.row button:nth-child(7) {
    background: linear-gradient(90deg, #f472b6 0%, #fbbf24 100%);
}

/* 价格换算和币种换算按钮 (绿色) */
.row button:nth-child(2),
.row button:nth-child(3) {
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

/* 合约部署和调用按钮 (紫色) */
.row button:nth-child(8),
.row button:nth-child(9) {
    background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%);
}

/* 弹窗样式 */
.swal2-popup {
    background: rgba(24, 32, 54, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #e3e8ee !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.swal2-title {
    color: #60a5fa !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.swal2-html-container {
    color: #e3e8ee !important;
    font-size: 1.1rem !important;
}

.swal2-confirm,
.swal2-cancel {
    background: linear-gradient(90deg, #60a5fa 0%, #818cf8 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover,
.swal2-cancel:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.15) !important;
}

.swal2-cancel {
    background: linear-gradient(90deg, #f43f5e 0%, #e11d48 100%) !important;
}

/* 确保弹窗遮罩层也适配主题 */
.swal2-backdrop-show {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(4px);
}

/* 价格和用户信息卡片 */
.price-info {
    margin-top: 16px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    transition: background-color 0.3s, color 0.3s;
}

.user-info {
    margin-bottom: 22px;
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, color 0.3s;
}

.swal2-input {
    display: block;
    margin: 10px auto;
    text-align: left;
    opacity: 0.6;
}

.swal2-textarea {
    display: block;
    margin: 10px auto;
    text-align: left;
    opacity: 0.6;
}

/* 钱包控制面板 */
.wallet-controls {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    width: 100%;
}
