/* ==========================================================================
   Takasbank & MKK Kurumsal Güvence ve Hesap Bildirimi Modal Tasarımı
   ========================================================================== */

.banka-hesap-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.banka-hesap-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.banka-hesap-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.banka-hesap-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.banka-hesap-modal.is-active .banka-hesap-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.banka-hesap-header {
    background: linear-gradient(135deg, #091A4B 0%, #132F5C 100%);
    color: #ffffff;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #f97316;
    position: relative;
}

.banka-hesap-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banka-hesap-badge-icon {
    width: 52px;
    height: 52px;
    background: rgba(249, 115, 22, 0.2);
    border: 1.5px solid rgba(249, 115, 22, 0.45);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fdba74;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.banka-hesap-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.banka-hesap-subtitle {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 4px 0 0;
    font-weight: 400;
}

.banka-hesap-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.banka-hesap-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Body */
.banka-hesap-body {
    padding: 26px 30px;
    overflow-y: auto;
    flex: 1;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ana Takasbank Güvence Kartı */
.banka-guvence-hero-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #e2e8f0;
    border-left: 6px solid #091A4B;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.banka-guvence-hero-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.banka-guvence-hero-ico {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.banka-guvence-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1e3a8a;
    background: #dbeafe;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.banka-guvence-hero-head h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: #091a4b;
    margin: 0;
    line-height: 1.35;
}

.banka-guvence-hero-desc {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
}

.banka-guvence-hero-desc strong {
    color: #0f172a;
}

/* 3 Kurumsal Güvence Sütunu Grid */
.banka-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.banka-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.banka-pillar-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.banka-pillar-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #091a4b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.banka-pillar-card:nth-child(1) .banka-pillar-ico {
    background: #eff6ff;
    color: #2563eb;
}

.banka-pillar-card:nth-child(2) .banka-pillar-ico {
    background: #ecfdf5;
    color: #059669;
}

.banka-pillar-card:nth-child(3) .banka-pillar-ico {
    background: #fff7ed;
    color: #ea580c;
}

.banka-pillar-card:nth-child(4) .banka-pillar-ico {
    background: #f5f3ff;
    color: #7c3aed;
}

.banka-pillar-content h4 {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.banka-pillar-content p {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* İletim ve Teyit Kutusu */
.banka-transmission-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.banka-transmission-box i {
    font-size: 1.4rem;
    color: #16a34a;
    flex-shrink: 0;
}

.banka-transmission-box p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #14532d;
    margin: 0;
}

/* Resmi Doğrulama Portalları */
.banka-portals-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.banka-portals-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
}

.banka-portals-info p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.banka-portals-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.banka-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #091a4b;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.banka-portal-link:hover {
    background: #091a4b;
    border-color: #091a4b;
    color: #ffffff;
}

/* Modal Footer */
.banka-hesap-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banka-footer-note {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banka-footer-note i {
    color: #10b981;
    font-size: 0.95rem;
}

.banka-hesap-btn-close {
    background: linear-gradient(135deg, #091A4B 0%, #132F5C 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(9, 26, 75, 0.2);
}

.banka-hesap-btn-close:hover {
    background: #f97316;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .banka-hesap-dialog {
        max-height: 95vh;
        border-radius: 16px;
    }

    .banka-hesap-header {
        padding: 18px 20px;
    }

    .banka-hesap-title {
        font-size: 1.18rem;
    }

    .banka-hesap-badge-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .banka-hesap-body {
        padding: 18px 20px;
        gap: 16px;
    }

    .banka-pillars-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .banka-portals-section {
        flex-direction: column;
        align-items: stretch;
    }

    .banka-portals-actions {
        flex-direction: column;
    }

    .banka-portal-link {
        justify-content: center;
    }

    .banka-hesap-footer {
        padding: 14px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .banka-hesap-btn-close {
        width: 100%;
    }
}
