@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

/* Main Container */
.fpay-fintech { 
    font-family: 'Outfit', sans-serif; 
    background: #fff; 
    border-radius: 20px; 
    border: 1px solid #eef2f6; 
    border-left: 5px solid #2563eb; 
    border-right: 5px solid #2563eb; 
    overflow: hidden; 
    max-width: 100%; 
}

/* Introduction Section */
.fpay-intro { 
    background: #f0f7ff; 
    padding: 15px; 
    text-align: center; 
    border-bottom: 1px solid #e2e8f0; 
}
.fpay-intro h4 { margin: 0 0 5px 0; color: #1e293b; font-size: 16px; font-weight: 700; }
.fpay-intro p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.4; }

/* Tabs Header */
.fpay-header { display: flex; background: #f8fafc; padding: 10px; gap: 8px; }
.fpay-tab-btn { 
    flex: 1; 
    padding: 12px 5px; 
    border-radius: 12px; 
    font-size: 13px; 
    font-weight: 700; 
    color: #64748b; 
    cursor: pointer; 
    border: none; 
    background: transparent; 
    transition: 0.3s; 
}
.fpay-tab-btn.active { 
    background: #2563eb; 
    color: #fff; 
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); 
}

/* Body Content */
.fpay-body { padding: 20px; display: none; }
.fpay-body.active { display: block; animation: slideUp 0.4s ease; }
.fpay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transition: 0.3s; }

/* Payment Card */
.fpay-card { 
    background: #fff; 
    padding: 15px 8px; 
    border-radius: 16px; 
    text-align: center; 
    border: 2px solid #f1f5f9; 
    cursor: pointer; 
    transition: 0.3s; 
}
.fpay-card:hover, .fpay-card.selected { border-color: #2563eb; background: #f0f7ff; transform: scale(1.05); }
.fpay-card img { height: 30px; margin-bottom: 8px; }
.fpay-card span { font-size: 11px; font-weight: 700; display: block; color: #334155; }

/* Selection Effects - Blur রিমুভ করা হয়েছে */
.selection-active-grid .fpay-card:not(.selected) { 
    opacity: 0.7 !important; 
    filter: none !important;
    transform: scale(0.98); 
}

/* যখন কোনো কার্ড সিলেক্ট হবে, সেটি হাইলাইট হবে */
.fpay-card.selected, .bank-top-card.selected { 
    border-color: #2563eb !important; 
    background: #f0f7ff !important; 
    transform: scale(1.05);
    opacity: 1 !important;
}
.bank-top-card:hover, .bank-top-card.selected { border-color: #2563eb; background: #f0f7ff; transform: translateX(5px); }
.bank-top-card img { height: 35px; width: auto; }
.bank-top-card span { font-size: 14px; font-weight: 700; color: #1e293b; }

/* Panel & Info Box */
#fpay-panel { border-top: 1px solid #f1f5f9; background: #fafcfe; padding: 20px; animation: fadeIn 0.3s ease; }
.info-box { background: #fff; border: 1.5px solid #eef2f6; border-radius: 18px; overflow: hidden; }
.info-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid #f8fafc; gap: 12px; }
.info-row-blue { background: #f0f7ff; }

/* Rows & Icons */
.row-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.icon-circle { 
    width: 24px; 
    height: 24px; 
    background: #eff6ff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
}
.icon-circle-blue { background: #2563eb !important; }
.icon-circle svg { width: 14px; height: 14px; color: #2563eb; }
.icon-circle-blue svg { fill: white !important; }

/* Labels & Values */
.label { font-size: 10px; color: #94a3b8; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 2px; }
.value { font-size: 14px; color: #1e293b; font-weight: 700; word-break: break-all; line-height: 1.2; }
.value-amount { color: #2563eb; font-size: 16px; }

/* Copy Button Fixed */
.btn-copy {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #64748b !important;
    cursor: pointer;
    transition: 0.3s;
}
.btn-copy svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    stroke-width: 2;
    fill: none;
}
.btn-copy:hover {
    color: #2563eb !important;
    border-color: #2563eb !important;
    background: #f1f5f9 !important;
}

/* Inputs & Forms */
.input-trx { width: 100%; padding: 14px; border: 2px solid #e2e8f0; border-radius: 14px; margin-top: 15px; font-size: 14px; font-weight: 600; outline: none; transition: 0.3s; }
.input-trx:focus { border-color: #2563eb; }
.slip-upload-container { margin-top: 15px; border: 2px dashed #e2e8f0; border-radius: 14px; padding: 15px; text-align: center; }

/* Toast */
#fpay-toast { visibility: hidden; background: #1e293b; color: #fff; padding: 12px 24px; border-radius: 50px; position: fixed; bottom: 50px; left: 50%; transform: translateX(-50%); z-index: 9999; font-size: 13px; font-weight: 600; transition: 0.3s; opacity: 0; }
#fpay-toast.show { visibility: visible; opacity: 1; bottom: 80px; }

/* Animations */
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }