/**
 * Müşteri portalı — premium bankacılık uygulaması görünümü (WebView + tarayıcı).
 */
body.portal-premium {
    color-scheme: light;
    --bg: #e8eef7;
    --bg2: #f4f7fb;
    --panel: #ffffff;
    --panel2: #f8fafc;
    --border: #dbe3ef;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #0b3d91;
    --accent-dim: rgba(11, 61, 145, 0.1);
    --accent-hover: #1454b8;
    --btn-primary-text: #ffffff;
    --danger: #dc2626;
    --ok: #059669;
    --card-shadow: 0 10px 40px rgba(11, 61, 145, 0.08);
    --card-shadow-hover: 0 16px 48px rgba(11, 61, 145, 0.12);
    min-height: 100vh;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(11, 61, 145, 0.14), transparent 55%),
        linear-gradient(180deg, #dce6f4 0%, #eef2f8 38%, #f8fafc 100%);
    color: var(--text);
}

body.portal-premium .card {
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--card-shadow);
    border-radius: 18px;
}

body.portal-premium .btn-primary,
body.portal-premium a.btn.btn-primary,
body.portal-premium button.btn.btn-primary,
body.portal-premium input.btn.btn-primary,
body.portal-premium .portal-submit.btn-primary {
    background: linear-gradient(180deg, #1454b8 0%, #0b3d91 100%);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(11, 61, 145, 0.35);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.22);
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 12px;
    min-height: 46px;
}

body.portal-premium .btn-primary:hover,
body.portal-premium .btn-primary:focus-visible,
body.portal-premium .btn-primary:active,
body.portal-premium a.btn.btn-primary:hover,
body.portal-premium a.btn.btn-primary:focus-visible,
body.portal-premium a.btn.btn-primary:active,
body.portal-premium button.btn.btn-primary:hover,
body.portal-premium button.btn.btn-primary:focus-visible,
body.portal-premium button.btn.btn-primary:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    filter: brightness(1.05);
}

body.portal-premium .btn-primary i,
body.portal-premium a.btn.btn-primary i,
body.portal-premium button.btn.btn-primary i {
    color: currentColor;
}

body.portal-premium .btn-ghost {
    border-radius: 12px;
    border-color: var(--border);
}

body.portal-premium .alert-danger {
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.06);
}

body.portal-premium .alert-success {
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.25);
    background: rgba(5, 150, 105, 0.08);
    color: #065f46;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
}

/* Marka alanı */
.portal-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 22px;
}

.portal-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-brand-logo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f4fa 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 12px 32px rgba(11, 61, 145, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.portal-brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.portal-brand-fallback {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #0b3d91;
    background: linear-gradient(145deg, #ffffff, #eef3fa);
    box-shadow: 0 12px 32px rgba(11, 61, 145, 0.14);
}

.portal-brand-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b3d91;
}

.portal-brand-tagline {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

/* Giriş */
body.portal-login {
    display: flex;
    flex-direction: column;
}

.portal-login-shell {
    width: min(420px, calc(100vw - 28px));
    margin: auto;
    padding: 28px 0 32px;
}

.portal-login-shell--auth {
    width: min(392px, calc(100vw - 28px));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 30px;
}

.portal-login-panel {
    width: 100%;
}

.portal-login-card {
    padding: 22px 20px 20px;
}

body.portal-login-auth .portal-brand {
    margin-bottom: 16px;
    gap: 8px;
}

body.portal-login-auth .portal-brand-logo-wrap,
body.portal-login-auth .portal-brand-fallback {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(11, 61, 145, 0.10);
}

body.portal-login-auth .portal-brand-title {
    font-size: 22px;
    letter-spacing: -0.03em;
    color: #0f172a;
}

body.portal-login-auth .portal-brand-tagline {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #64748b;
}

body.portal-login-auth .portal-login-card {
    padding: 24px 22px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.portal-login-card .portal-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

body.portal-login-auth .portal-login-card .portal-title {
    margin-bottom: 6px;
    text-align: center;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.portal-login-card .portal-muted {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

body.portal-login-auth .portal-login-card .portal-muted {
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.portal-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}

.portal-field input {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: var(--text);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.portal-login-auth .portal-field label {
    color: #475569;
    letter-spacing: 0.02em;
    text-transform: none;
}

body.portal-login-auth .portal-field input {
    min-height: 46px;
    border-color: #dbe3ef;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
}

.portal-field input:focus {
    outline: none;
    border-color: #0b3d91;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.12);
}

body.portal-login-auth .portal-field input:focus {
    border-color: #0b3d91;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.10);
}

.portal-field {
    margin-top: 14px;
}

.portal-field:first-of-type {
    margin-top: 0;
}

.portal-submit {
    margin-top: 18px;
    width: 100%;
}

body.portal-login-auth .portal-submit.btn-primary {
    min-height: 48px;
    margin-top: 24px;
    border-radius: 12px;
    background: #0b3d91;
    box-shadow: 0 10px 22px rgba(11, 61, 145, 0.18);
    font-size: 15px;
    letter-spacing: 0.01em;
}

.portal-register-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 10px;
}

body.portal-login-auth .portal-register-cta.btn-ghost {
    border-color: #e5e7eb;
    background: #ffffff;
    color: #0b3d91;
}

.portal-app-register-block {
    margin-bottom: 4px;
}

.portal-app-register-block .portal-muted {
    margin: 0 0 10px;
    font-size: 14px;
}

.portal-app-register-block .portal-register-cta {
    margin-top: 0;
}

.portal-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 6px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-login-divider::before,
.portal-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.portal-login-divider span {
    flex-shrink: 0;
    max-width: 70%;
    line-height: 1.35;
    text-align: center;
}

body.portal-login.bus-app-shell .portal-app-register-block .portal-register-cta {
    box-shadow: 0 10px 24px rgba(11, 61, 145, 0.22);
}

.portal-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.portal-remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0b3d91;
}

body.portal-login-auth .portal-remember {
    justify-content: center;
    color: #64748b;
    font-size: 13px;
}

body.portal-login-auth .portal-remember input {
    accent-color: #0b3d91;
}

.portal-login-secondary {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.portal-login-secondary a {
    color: #0b3d91;
    font-weight: 800;
    text-decoration: none;
}

.portal-login-secondary a:hover {
    text-decoration: underline;
}

.portal-login-invite-hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(11, 61, 145, 0.06);
    border: 1px solid rgba(11, 61, 145, 0.12);
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
}
.portal-login-invite-hint i {
    color: #0b3d91;
    margin-right: 6px;
}

.portal-login-trust {
    margin: 18px 0 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.portal-login-trust i {
    color: #059669;
    margin-right: 4px;
}

.portal-login-contact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.portal-login-contact__title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}
.portal-login-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.portal-login-contact__actions .btn {
    font-size: 12px;
}

body.portal-login-auth .portal-login-contact {
    margin-top: 16px;
    padding-top: 14px;
    text-align: center;
}

body.portal-login-auth .portal-login-contact__title {
    color: #94a3b8;
}

body.portal-login-auth .portal-login-contact__actions {
    justify-content: center;
}

@media (max-width: 520px) {
    body.portal-login-auth .portal-login-card {
        padding: 22px 18px 18px;
        border-radius: 16px;
    }

    body.portal-login-auth .portal-brand-logo-wrap,
    body.portal-login-auth .portal-brand-fallback {
        width: 66px;
        height: 66px;
    }

    body.portal-login-auth .portal-brand-title {
        font-size: 21px;
    }
}

.portal-apk-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}
.portal-apk-auth-actions .btn {
    flex: 1 1 160px;
    justify-content: center;
}
.portal-meta {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
}
.portal-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}
.portal-notes {
    white-space: pre-wrap;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}
.portal-steps {
    margin: 16px 0 0 18px;
    padding: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.portal-apk-promo {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
}
.portal-apk-promo a {
    color: #0b3d91;
    font-weight: 700;
}

.portal-new-customer-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.06);
}
.portal-new-customer-notice__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(11, 61, 145, 0.1);
    color: #0b3d91;
    font-size: 18px;
}
.portal-new-customer-notice__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.portal-new-customer-notice__lead,
.portal-new-customer-notice__hint {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}
.portal-new-customer-notice__hint:last-of-type {
    margin-bottom: 10px;
}
.portal-new-customer-notice__steps {
    margin: 0 0 10px;
    padding-left: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.portal-new-customer-notice__steps li {
    margin-bottom: 6px;
}
.portal-new-customer-notice__steps li:last-child {
    margin-bottom: 0;
}
.portal-new-customer-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.portal-new-customer-notice--compact {
    margin-top: 0;
}
@media (max-width: 520px) {
    .portal-new-customer-notice {
        grid-template-columns: 1fr;
    }
    .portal-new-customer-notice__icon {
        display: none;
    }
    .portal-new-customer-notice__actions .btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
    }

    body.portal-premium .portal-profile-grid {
        grid-template-columns: 1fr;
    }
}

/* Panel */
body.portal-premium .portal-header-fixed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #0b3d91 0%, #072a66 100%);
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(7, 42, 102, 0.28);
}

body.portal-premium .portal-header-fixed .portal-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

body.portal-premium .portal-header-fixed .portal-title i {
    opacity: 0.92;
}

body.portal-premium .portal-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    backdrop-filter: blur(4px);
}

body.portal-premium .portal-badge--ok {
    color: #bbf7d0;
    border-color: rgba(187, 247, 208, 0.35);
    background: rgba(22, 163, 74, 0.2);
}

body.portal-premium .portal-badge--warn {
    color: #fecaca;
    border-color: rgba(254, 202, 202, 0.35);
    background: rgba(220, 38, 38, 0.22);
}

body.portal-premium .portal-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0b3d91;
    letter-spacing: -0.02em;
}

body.portal-premium .portal-profile-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

body.portal-premium .portal-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

body.portal-premium .portal-profile-span {
    grid-column: 1 / -1;
}

body.portal-premium .portal-profile-form .portal-field {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

body.portal-premium .portal-profile-form .portal-field label {
    min-height: 18px;
    margin-bottom: 6px;
}

body.portal-premium .portal-profile-form .portal-field input {
    width: 100%;
    height: 46px;
    min-height: 46px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: var(--text);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 46px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

body.portal-premium .portal-profile-form .portal-field input[type="date"] {
    line-height: normal;
}

body.portal-premium .portal-profile-form .portal-field input:focus {
    outline: none;
    border-color: #0b3d91;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.12);
}

body.portal-premium .portal-profile-password {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

body.portal-premium .portal-profile-password summary {
    cursor: pointer;
    color: #0b3d91;
    font-size: 13px;
    font-weight: 800;
}

body.portal-premium .portal-profile-password[open] summary {
    margin-bottom: 12px;
}

body.portal-premium .portal-profile-password-grid {
    width: min(100%, 340px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.portal-premium .portal-profile-submit {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

body.portal-premium .portal-profile-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

body.portal-premium .portal-kpi {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

body.portal-premium .portal-kpi .v {
    font-size: 17px;
}

body.portal-premium .portal-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    background: #f1f5f9;
}

body.portal-premium .portal-table th,
body.portal-premium .portal-table td {
    border-bottom-color: #e2e8f0;
}

body.portal-premium .portal-plate-btn,
body.portal-premium .portal-filter-input {
    border-radius: 999px;
}

body.portal-premium .portal-plate-btn {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

body.portal-premium .portal-plate-btn:focus,
body.portal-premium .portal-plate-btn:focus-visible,
body.portal-premium .portal-plate-btn:focus-within {
    outline: none;
}

body.portal-premium .portal-filter-input {
    border-color: #cbd5e1;
    background: #ffffff;
}

body.portal-premium .portal-plate-btn.is-devam {
    background-color: #22c55e;
    border-color: #16a34a;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(21, 128, 61, 0.28);
}

body.portal-premium .portal-plate-btn.is-sona-erdi {
    background-color: #d1d5db;
    border-color: #cbd5e1;
    color: #64748b;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(75, 85, 99, 0.16);
}

body.portal-premium .portal-plate-btn.is-devam:focus,
body.portal-premium .portal-plate-btn.is-devam:focus-visible {
    box-shadow: 0 1px 3px rgba(21, 128, 61, 0.28);
}

body.portal-premium .portal-plate-btn.is-sona-erdi:focus,
body.portal-premium .portal-plate-btn.is-sona-erdi:focus-visible {
    box-shadow: 0 1px 2px rgba(75, 85, 99, 0.16);
}

body.portal-premium .portal-plate-btn.is-devam.is-selected,
body.portal-premium .portal-plate-btn.is-devam:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 5px rgba(21, 128, 61, 0.42);
}

body.portal-premium .portal-plate-btn.is-sona-erdi.is-selected,
body.portal-premium .portal-plate-btn.is-sona-erdi:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(75, 85, 99, 0.32);
}

body.portal-premium .portal-reminder-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    border-color: rgba(11, 61, 145, 0.2);
    background: rgba(11, 61, 145, 0.08);
    color: #0b3d91;
    white-space: normal;
    line-height: 1.25;
}

body.portal-premium #hatirlatmalar .portal-table th:nth-child(2),
body.portal-premium #hatirlatmalar .portal-table td:nth-child(2) {
    min-width: 128px;
}

body.portal-premium #hatirlatmalar .portal-table th:nth-child(1),
body.portal-premium #hatirlatmalar .portal-table td:nth-child(1) {
    min-width: 96px;
    white-space: nowrap;
}

body.portal-premium #hatirlatmalar .portal-table th:nth-child(4),
body.portal-premium #hatirlatmalar .portal-table td:nth-child(4) {
    min-width: 112px;
    white-space: nowrap;
}

body.portal-premium .portal-plaka-badge {
    display: inline-block;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Inter', monospace;
    font-size: 12.5px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.portal-premium .portal-reminder-form {
    margin: 4px 0 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

body.portal-premium .portal-reminder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

body.portal-premium .portal-reminder-form .portal-field {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

body.portal-premium .portal-reminder-form .portal-field label {
    min-height: 18px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
}

body.portal-premium .portal-reminder-form .portal-field input,
body.portal-premium .portal-reminder-form .portal-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--text);
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
}

body.portal-premium .portal-reminder-not {
    grid-column: 1 / -1;
}

body.portal-premium .portal-reminder-actions,
body.portal-premium .portal-reminder-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.portal-premium .portal-reminder-actions {
    margin-top: 12px;
}

body.portal-premium .portal-reminder-row-actions form {
    margin: 0;
}

body.portal-premium .portal-reminder-readonly {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 900px) {
    body.portal-premium .portal-reminder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body.portal-premium .portal-reminder-grid {
        grid-template-columns: 1fr;
    }
}

body.portal-premium.bus-app-shell .portal-header-fixed {
    border-radius: 0 0 18px 18px;
    margin-left: -1px;
    margin-right: -1px;
}

body.portal-premium.bus-app-shell .portal-wrap {
    padding-top: 6px;
}

/* Mobil uygulama kurulum rehberi */
.portal-login-shell--wide {
    width: min(560px, calc(100vw - 28px));
}

.portal-apk-guide-card {
    padding-bottom: 22px;
}

.portal-apk-guide-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.portal-apk-guide__logged-in {
    margin-bottom: 14px;
}

.portal-apk-guide__block {
    margin: 0 0 18px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border);
}

.portal-apk-guide__block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.portal-apk-guide__heading {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0b3d91;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-apk-guide__heading i {
    color: #0b3d91;
    font-size: 16px;
}

.portal-apk-guide__text,
.portal-apk-guide__note {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.portal-apk-guide__note--warn {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 61, 145, 0.18);
    background: rgba(11, 61, 145, 0.06);
    color: #334155;
}

.portal-apk-guide__actions {
    margin-top: 10px;
}

.portal-apk-guide__meta {
    margin-bottom: 12px;
}

.portal-apk-guide__steps {
    margin-top: 0;
}

.portal-apk-guide__list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.portal-apk-guide__list li {
    margin-bottom: 6px;
}

.portal-apk-guide__faq {
    margin: 0;
}

.portal-apk-guide__faq dt {
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.portal-apk-guide__faq dt:first-child {
    margin-top: 0;
}

.portal-apk-guide__faq dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

.portal-apk-guide__footer-note {
    margin-top: 16px;
    font-size: 12px;
    color: #64748b;
}

.portal-public-notice-section .portal-new-customer-notice__hint a {
    color: #0b3d91;
    font-weight: 700;
    text-decoration: none;
}

.portal-public-notice-section .portal-new-customer-notice__hint a:hover {
    text-decoration: underline;
}

@media print {
    body.portal-apk-guide-page {
        background: #fff;
    }

    body.portal-apk-guide-page .portal-brand,
    body.portal-apk-guide-page .no-print,
    body.portal-apk-guide-page .portal-login-contact,
    body.portal-apk-guide-page .portal-apk-auth-actions,
    body.portal-apk-guide-page .portal-submit,
    body.portal-apk-guide-page .portal-apk-guide-toolbar {
        display: none !important;
    }

    body.portal-apk-guide-page .portal-login-shell {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    body.portal-apk-guide-page .portal-login-card {
        box-shadow: none;
        border: 0;
        padding: 0;
    }

    body.portal-apk-guide-page .portal-apk-guide__heading {
        color: #000;
    }
}
