/* Mükellef — Hesap Özeti (account-status) */
html body .emm-shell .mukellef-hesap-durumu-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-panel {
    width: 100%;
    max-width: 100%;
    border: 1px solid #dbe3f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-panel-header {
    padding: 0.9rem 1.15rem;
    background: linear-gradient(135deg, var(--emm-brand-primary, #003b95) 0%, #002a6b 100%);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 1.15rem;
    align-items: stretch;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--services .mukellef-hesap-durumu-card-head {
    background: linear-gradient(135deg, rgba(0, 59, 149, 0.08) 0%, rgba(96, 165, 250, 0.06) 100%);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--payments .mukellef-hesap-durumu-card-head {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(134, 239, 172, 0.06) 100%);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--debt .mukellef-hesap-durumu-card-head {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(253, 230, 138, 0.08) 100%);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--services .mukellef-hesap-durumu-card-icon {
    background: rgba(0, 59, 149, 0.12);
    color: var(--emm-brand-primary, #003b95);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--payments .mukellef-hesap-durumu-card-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card--debt .mukellef-hesap-durumu-card-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat.is-total {
    border-color: #bfdbfe;
    background: #eff6ff;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat.is-highlight {
    border-color: #fde68a;
    background: #fffbeb;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat-value {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    word-break: break-word;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat.is-total .mukellef-hesap-durumu-stat-value {
    color: var(--emm-brand-primary, #003b95);
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-stat.is-highlight .mukellef-hesap-durumu-stat-value {
    color: #b45309;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-card-footer {
    padding: 0 0.9rem 0.9rem;
    margin-top: auto;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--blue {
    color: #fff !important;
    background: var(--emm-brand-primary, #003b95) !important;
    border-color: var(--emm-brand-primary, #003b95) !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--blue:hover {
    background: #002a6b !important;
    border-color: #002a6b !important;
    color: #fff !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--green {
    color: #fff !important;
    background: var(--emm-btn-success, #16a34a) !important;
    border-color: var(--emm-btn-success, #16a34a) !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--green:hover {
    background: var(--emm-btn-success-hover, #15803d) !important;
    border-color: var(--emm-btn-success-hover, #15803d) !important;
    color: #fff !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--orange {
    color: #fff !important;
    background: var(--emm-btn-warning, #f59e0b) !important;
    border-color: var(--emm-btn-warning, #f59e0b) !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-btn--orange:hover {
    background: var(--emm-btn-warning-hover, #d97706) !important;
    border-color: var(--emm-btn-warning-hover, #d97706) !important;
    color: #fff !important;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-iyzico {
    display: flex;
    justify-content: flex-end;
    padding: 0 1.15rem 1rem;
    border-top: 1px solid #f1f5f9;
}

html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-iyzico img {
    width: min(100%, 14rem);
    height: auto;
    object-fit: contain;
}

/* Banka bilgileri popup */
html body .mukellef-hesap-durumu-bank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
}

html body .mukellef-hesap-durumu-bank-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #334155;
    min-width: 0;
    word-break: break-word;
}

html body .mukellef-hesap-durumu-bank-card strong {
    font-size: 0.875rem;
    color: var(--emm-brand-primary, #003b95);
}

html body .mukellef-hesap-durumu-bank-card code {
    display: block;
    margin-top: 0.25rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #cbd5e1;
    font-size: 0.75rem;
    word-break: break-all;
}

html body .mukellef-hesap-durumu-bank-empty {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 991.98px) {
    html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-cards {
        grid-template-columns: 1fr;
    }

    html body .mukellef-hesap-durumu-bank-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-cards {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    html body .emm-shell .mukellef-hesap-durumu-page .mukellef-hesap-durumu-iyzico {
        justify-content: center;
        padding: 0.75rem;
    }
}
