/* 绑卡管理页面的额外样式 */

.user-section, .card-setup-section, .saved-cards-section, .quick-payment-section {
    margin-bottom: 30px;
}

.user-card, .setup-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.secondary-button {
    background: #6b7280;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 10px;
}

.secondary-button:hover {
    background: #4b5563;
}

.saved-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-info {
    flex-grow: 1;
}

.card-brand {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.card-expiry, .card-created {
    font-size: 0.9rem;
    color: #6b7280;
}

.card-actions {
    margin-left: 15px;
}

.delete-card-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.delete-card-btn:hover {
    background: #b91c1c;
}

.amount-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.amount-btn {
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover, .amount-btn.selected {
    background: #4f46e5;
    color: white;
}

.custom-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-amount input {
    flex-grow: 1;
    padding: 10px 12px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.custom-amount input:focus {
    outline: none;
    border-color: #4f46e5;
}

.card-option {
    display: block;
    padding: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-option:hover {
    border-color: #4f46e5;
}

.card-option input {
    margin-right: 10px;
}

.card-display {
    font-weight: 500;
    color: #1f2937;
}

@media (max-width: 768px) {
    .amount-selector {
        flex-direction: column;
    }
    
    .saved-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .card-actions {
        margin-left: 0;
        margin-top: 10px;
    }
}
