/**
 * WC BD Payment Popup Styles
 */
#wc-bd-payment-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

#wc-bd-payment-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.wc-bd-modal-content {
    background: #ffffff;
    margin: auto;
    padding: 0;
    border: 1px solid #e5e7eb;
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.wc-bd-modal-header {
    background: #f9fafb;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-bd-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

.wc-bd-close {
    color: #9ca3af;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.wc-bd-close:hover {
    color: #374151;
}

.wc-bd-modal-body {
    padding: 24px;
}

.wc-bd-step {
    display: none;
}

.wc-bd-step.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.wc-bd-instructions {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
}

.wc-bd-form-group {
    margin-bottom: 16px;
}

.wc-bd-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.wc-bd-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.2s;
}

.wc-bd-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wc-bd-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 15px;
}

.wc-bd-btn:hover {
    background: #1d4ed8;
}

.wc-bd-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Pay Method Branding Colors */
.branding-bkash { color: #d12053; }
.branding-nagad { color: #f6921e; }
.branding-rocket { color: #8c3494; }
