/* Customer-only presentation layer; admin and printable invoices keep their styles. */
.customer-portal {
    --brandColorBlue: #010799;
    --primaryColor: #010799;
    --textColorGreen: #007d70;
    --portal-accent: #010799;
    --portal-accent-soft: #eef1ff;
    --portal-mint-soft: #e3faf3;
    --portal-border: #e3e7ed;
    --portal-muted: #64748b;
    --portal-surface: #f7f8fa;
    background: var(--portal-surface) !important;
    color: #334155;
    font-family: 'Onest', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.customer-portal .portal-decoration { display: none !important; }
.customer-portal .main-container { padding-top: 7.5rem; padding-bottom: 3.5rem; }
.customer-portal h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.customer-portal h4 { font-size: 1.2rem; letter-spacing: -.02em; }
.customer-portal p { line-height: 1.65; }
.customer-portal .brand-header {
    border-bottom: 1px solid var(--portal-border);
    box-shadow: 0 3px 18px rgb(21 70 123 / 4%);
}
.customer-portal .brand-header .navbar { min-height: 76px; }
.customer-portal .img-brand { height: 40px; }
.customer-portal #menu-navbar a,
.customer-portal #menu-navbar .brand-dropdown-toggle {
    display: inline-block;
    padding: 9px 10px;
    margin-left: 3px !important;
    margin-right: 3px !important;
    border-radius: 8px;
    font-size: 14px;
}
.customer-portal #menu-navbar a:hover,
.customer-portal #menu-navbar a.text-secondary {
    background: var(--portal-accent-soft);
    color: var(--brandColorBlue) !important;
}
.customer-portal .brand-dropdown-menu,
.customer-portal .dropdown-menu {
    border: 1px solid var(--portal-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 36px rgb(15 23 42 / 10%);
    padding: 8px;
}
.customer-portal .dropdown-item { border-radius: 6px; padding: 9px 14px; }
.customer-portal .form-control,
.customer-portal .form-select,
.customer-portal .input-group-text {
    border-color: #cbd5e1;
    border-radius: 9px;
    min-height: 46px;
    font-size: 14px;
}
.customer-portal .form-control:focus,
.customer-portal .form-select:focus {
    border-color: #6876ac;
    box-shadow: 0 0 0 3px rgb(21 70 123 / 12%);
}
.customer-portal .input-group > .password-input { border-radius: 9px 0 0 9px; }
.customer-portal .input-group > .password-icon { border-radius: 0 9px 9px 0; }
.customer-portal label { font-weight: 500; }
.customer-portal .btn { border-radius: 9px; font-weight: 600; }
.customer-portal a:focus-visible,
.customer-portal button:focus-visible,
.customer-portal input:focus-visible {
    outline: 3px solid #6876ac;
    outline-offset: 3px;
}
.customer-portal .btn-status-success { background: #e3f4ed; color: #146b4d; }
.customer-portal .btn-status-danger { background: #fcebea; color: #a92e36; }
.customer-portal .main-container .shadow-sm {
    background: white;
    border: 1px solid var(--portal-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgb(15 23 42 / 3%) !important;
}
.customer-portal .table { color: #334155; border-color: var(--portal-border); }
.customer-portal .table > thead { background: #f1f3f8; }
.customer-portal .table > :not(caption) > * > * { padding: 15px 12px; }
.customer-portal .table th { font-weight: 600; }
.customer-portal .modal-content { border: 0; border-radius: 16px; box-shadow: 0 20px 60px rgb(15 23 42 / 15%); }
.customer-portal .portal-overview {
    background: #eaf1f8;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--portal-border);
}
.customer-portal .portal-overview + .main-container { padding-top: 0; }
.customer-portal .portal-summary,
.customer-portal .portal-billing {
    border: 1px solid var(--portal-border) !important;
    border-radius: 14px !important;
    background: white;
    box-shadow: 0 4px 16px rgb(21 70 123 / 3%);
}
.customer-portal .portal-summary { padding: 12px; }
.customer-portal .portal-welcome { border-left: 4px solid var(--brandColorBlue) !important; }
.customer-portal .portal-summary img { width: 38px; height: auto; }
.customer-portal .portal-billing { padding: 24px 12px !important; }
.customer-portal .portal-billing h3 { margin-top: 6px !important; }
.customer-portal .portal-billing img { max-width: 48px; }
.customer-portal footer {
    background-image: none;
    background-color: #080e69;
    padding-top: 10px;
    margin-top: auto;
}
.customer-portal .footer-body { line-height: 1.8; }
.customer-portal.portal-auth .main-container {
    flex-direction: column;
    padding-top: 7.5rem;
    padding-bottom: 3rem;
    min-height: 85vh !important;
}
.customer-portal .portal-login {
    max-width: 1000px;
    border: 1px solid var(--portal-border);
    border-radius: 22px;
    background: white;
    overflow: hidden;
    box-shadow: 0 16px 48px rgb(21 70 123 / 7%);
}
.customer-portal .portal-login-art { padding: 24px; }
.customer-portal .portal-login-art img { max-height: 560px; border-radius: 12px; object-fit: contain; }
.customer-portal .portal-login-panel { padding: 0; }
.customer-portal .portal-login-form {
    border: 0 !important;
    border-left: 1px solid var(--portal-border) !important;
    border-radius: 0 !important;
    padding: 32px !important;
}
.customer-portal .portal-login-form .form-group:first-of-type { text-align: left !important; }
.customer-portal .portal-login-form .img-caption { height: 28px; }
.customer-portal .portal-login-form h3 { font-size: 1.75rem; }
.customer-portal .portal-login-form p { color: var(--portal-muted); margin-top: 8px; }
.customer-portal .portal-login-form .form-check { margin-bottom: 24px; font-size: 13px; }
.customer-portal .portal-login-form .btn-mtm-60 { background: var(--brandColorBlue); }
.customer-portal .portal-login-form .btn-mtm-60:hover { background: #070d78; color: white; }
.customer-portal .portal-login-form .btn-mtm-outline-60 { border-color: var(--brandColorBlue) !important; color: var(--brandColorBlue) !important; }
/* Utilitas brand untuk semua halaman auth (login, register, forgot password). */
.portal-auth .text-mtm-60 { color: #010799; }
.portal-auth .btn-mtm-60 { background: var(--brandColorBlue); border: 1px solid var(--brandColorBlue); color: #fff; font-weight: 700; border-radius: 10px; }
.portal-auth .btn-mtm-60:hover, .portal-auth .btn-mtm-60:focus { background: #070d78; border-color: #070d78; color: #fff; }
.portal-auth .btn-mtm-60:disabled { background: var(--brandColorBlue); border-color: var(--brandColorBlue); color: #fff; opacity: .55; }
.portal-auth .btn-mtm-outline-60 { background: #fff; border: 1px solid var(--brandColorBlue); color: var(--brandColorBlue); font-weight: 700; border-radius: 10px; }
.portal-auth .btn-mtm-outline-60:hover, .portal-auth .btn-mtm-outline-60:focus { background: var(--brandColorBlue); border-color: var(--brandColorBlue); color: #fff; }
.customer-portal .portal-login-form hr { background: var(--portal-border); opacity: 1; margin: 24px 0; }
@media (max-width: 991.98px) {
    .customer-portal .brand-header .navbar { min-height: 66px; padding-left: 16px; padding-right: 16px; }
    .customer-portal .img-brand { height: 34px; }
    .customer-portal .main-container { padding-top: 6rem; padding-bottom: 2rem; }
    .customer-portal h3 { font-size: 1.2rem; }
    .customer-portal h4 { font-size: 1.1rem; }
    .customer-portal p,
    .customer-portal .form-check-label { font-size: 14px; }
    .customer-portal .portal-overview { padding-top: 6rem; padding-bottom: 1.5rem; }
    .customer-portal .portal-summary { padding: 8px 0; }
    .customer-portal .portal-billing { padding: 20px 8px !important; }
    .customer-portal .btn-status { font-size: 11px; }
    .customer-portal .mobile-header { overflow-y: auto; padding-bottom: 90px; }
    .portal-app.menu-open { overflow: hidden; }
    .customer-portal .header-bottom {
        border-top: 1px solid var(--portal-border);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 20px rgb(15 23 42 / 4%);
    }
    .customer-portal .header-bottom a { font-size: 10px; }
    .customer-portal .header-bottom-active { background: var(--portal-accent-soft); border-radius: 10px 10px 0 0; }
    .customer-portal footer { padding-bottom: calc(85px + env(safe-area-inset-bottom)); }
    .customer-portal.portal-auth footer { padding-bottom: 24px; }
    .customer-portal.portal-auth .main-container { padding-top: 6rem; }
    .customer-portal .portal-login { max-width: 500px; border-radius: 16px; }
    .customer-portal .portal-login-form { padding: 28px 22px !important; border-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
    .customer-portal .mobile-header.show,
    .customer-portal .mobile-header.hide { animation-duration: .01ms; }
}
/* Application shell and dashboard */
.portal-app .main-container { padding-top: 110px; }
.portal-sidebar { position: fixed; inset: 77px auto 0 0; width: 236px; padding: 32px 18px 18px; background: #fff; border-right: 1px solid #e4eaf1; z-index: 80; flex-direction: column; overflow-y: auto; }
.sidebar-caption { color: #8492a6; font-size: 10px; letter-spacing: .16em; font-weight: 700; padding: 0 16px 20px; }
.sidebar-link { display: flex; align-items: center; gap: 14px; color: #64748b; text-decoration: none; border-radius: 8px; padding: 12px 15px; font-size: 14px; margin-bottom: 5px; }
.sidebar-link > i { width: 18px; text-align: center; }
.sidebar-link:hover { background: #f3f6fa; color: var(--portal-accent); }
.sidebar-link.is-current { background: var(--portal-accent); color: white; font-weight: 700; }
.sidebar-active-dot { width: 6px; height: 6px; border-radius: 50%; background: #0dffcb; margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding-top: 28px; }
.sidebar-service { padding: 20px 16px; margin-bottom: 18px; background: #f0f6f3; border-radius: 10px; }
.sidebar-service > i { display: block; font-size: 23px; color: var(--portal-accent); margin-bottom: 14px; }
.sidebar-service strong { display: block; font-size: 13px; color: #253952; }
.sidebar-service p { font-size: 11px; margin: 5px 0 14px; color: #738195; }
.sidebar-service a { font-size: 12px; color: var(--portal-accent); text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; }
.dashboard-workspace { max-width: 1200px; margin: 0 auto; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.dashboard-eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #758498; }
.dashboard-heading h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.045em; margin: 7px 0 8px; color: #172d47; }
.greeting-dot { color: #009c88; }
.dashboard-heading p { color: #758498; font-size: 13px; margin-bottom: 0; }
.customer-id-block { border-left: 1px solid #dce4ed; padding-left: 24px; flex-shrink: 0; }
.customer-id-block > span { color: #758498; font-size: 11px; display: block; margin-bottom: 4px; }
.customer-id-block strong { color: #334155; font-size: 15px; letter-spacing: .04em; }
.customer-id-block .icon-badge { border: 0; border-radius: 5px; margin-left: 8px; color: #64748b; background: #e8eef5; padding: 4px 7px; cursor: pointer; }
.myTooltip { position: relative; }
.myTooltiptext { display: none; position: absolute; top: 100%; right: 0; background: #172d47; color: white; padding: 5px 10px; font-size: 11px; white-space: nowrap; border-radius: 5px; z-index: 2; pointer-events: none; }
/* Tooltip hanya tampil dari tombol copy, bukan dari seluruh area wrapper. */
.myTooltip button:hover + .myTooltiptext, .myTooltip button:focus + .myTooltiptext { display: block; }
.dashboard-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.dashboard-invoice, .dashboard-package { padding: 28px; border-radius: 16px; position: relative; }
.dashboard-invoice { background: #101b8c; color: white; border: 1px solid #101b8c; }
.dashboard-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dashboard-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #e1e6f2; color: var(--portal-accent); font-size: 18px; }
.invoice-state { font-size: 10px; text-transform: uppercase; font-weight: 600; border-radius: 5px; padding: 5px 10px; letter-spacing: .04em; }
.invoice-state.is-unpaid { color: #8a5b25; background: #f5ead8; }
.invoice-state.is-paid { color: #246c56; background: #dcefe5; }
.dashboard-invoice .invoice-label { color: #c8d7ff; font-size: 13px; margin-bottom: 6px; }
.dashboard-invoice h2 { color: white; font-size: 38px; letter-spacing: -.04em; margin-bottom: 20px; }
.invoice-date { display: flex; align-items: center; gap: 9px; color: #c8d7ff; font-size: 12px; margin-bottom: 26px; }
.invoice-date strong { color: white; margin-left: auto; }
.dashboard-invoice-link { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: #0dffcb; border-radius: 8px; color: #07156b; text-decoration: none; font-weight: 700; font-size: 12px; }
.dashboard-invoice-link:hover { background: #35f5d0; color: #07156b; }
.dashboard-package { background: white; border: 1px solid #e0e7ef; overflow: hidden; display: flex; flex-direction: column; }
.dashboard-package .dashboard-icon { background: var(--portal-mint-soft); color: #007d70; }
.dashboard-package > p { color: #758498; font-size: 13px; margin-bottom: 8px; }
.dashboard-package h2 { color: #203b59; font-size: 26px; letter-spacing: -.03em; position: relative; z-index: 1; }
.package-line-art { position: absolute; right: 24px; bottom: 40px; font-size: 100px; color: #edf5f2; transform: rotate(-15deg); pointer-events: none; }
.dashboard-text-link { margin-top: auto; padding-top: 38px; display: flex; align-items: center; justify-content: space-between; color: var(--portal-accent); font-size: 12px; font-weight: 700; text-decoration: none; position: relative; }
.dashboard-shortcuts { margin: 34px 0; }
.dashboard-shortcuts h2 { color: #253952; font-size: 16px; margin-bottom: 18px; letter-spacing: -.02em; }
.shortcut-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.shortcut-item { display: flex; align-items: center; gap: 12px; padding: 20px 16px; background: white; border: 1px solid #e0e7ef; border-radius: 10px; text-decoration: none; color: #253952; }
.shortcut-item:hover { border-color: #91abc5; color: var(--portal-accent); }
.shortcut-icon { color: #007d70; background: var(--portal-mint-soft); border-radius: 8px; width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; }
.shortcut-item strong { display: block; font-size: 12px; }
.shortcut-item small { display: block; color: #8492a6; font-size: 10px; margin-top: 3px; }
.shortcut-item > i { margin-left: auto; color: #8b9caf; font-size: 10px; }
.portal-app #notificationWrapper .notification-list { background: white; border: 1px solid #e0e7ef; box-shadow: none !important; border-radius: 12px !important; }
.portal-app #notificationWrapper .img-slider { max-height: 220px; max-width: 100%; object-fit: contain; }
@media (min-width: 992px) {
    .portal-app #menu-navbar { display: none !important; }
    .portal-app .brand-header .navbar { max-width: none; padding: 0 32px !important; }
    .portal-app .main-container { margin-left: 236px; width: calc(100% - 236px); max-width: none; padding-left: 38px; padding-right: 38px; min-height: calc(100vh - 200px); }
    .portal-app > footer { margin-left: 236px; }
    .portal-app > footer .container { padding: 24px 38px !important; }
    .portal-app > footer .footer-body, .portal-app > footer .footer-header { font-size: 11px; }
    .portal-app > footer .sosmed-list { width: 30px; height: 30px; padding-top: 3px; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .shortcut-grid { grid-template-columns: 1fr; }
    .shortcut-item { padding: 14px 16px; }
}
@media (max-width: 991.98px) {
    .portal-app .main-container { padding: 96px 22px 28px; }
    .dashboard-heading { margin-bottom: 24px; }
    .customer-id-block { padding-left: 16px; }
    .dashboard-grid { gap: 16px; }
    .dashboard-invoice, .dashboard-package { padding: 24px; }
    .shortcut-grid { grid-template-columns: 1fr; gap: 10px; }
    .shortcut-item { padding: 16px; }
    .shortcut-item strong { font-size: 14px; }
    .shortcut-item small { font-size: 12px; }
    .customer-portal .header-bottom-active a, .customer-portal .header-bottom-active .icon-brand { color: var(--portal-accent) !important; }
}
@media (max-width: 575.98px) {
    .portal-app .main-container { padding-left: 18px; padding-right: 18px; }
    .dashboard-heading { display: block; }
    .customer-id-block { border: 0; padding: 0; display: flex; align-items: center; gap: 12px; margin-top: 18px; }
    .customer-id-block > span { margin: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-heading h1 { font-size: 30px; }
    .customer-portal .dashboard-heading p { font-size: 12px; }
    .dashboard-package { min-height: 240px; }
    .dashboard-invoice h2 { font-size: 36px; }
    .dashboard-shortcuts { margin: 28px 0; }
}
.portal-app .header-bottom .header-bottom-active a,
.portal-app .header-bottom .header-bottom-active i,
.portal-app .header-bottom .header-bottom-active span { color: var(--portal-accent) !important; }

/* Quiet brand accents shared by the existing customer pages. */
.customer-portal .bgp-blue { background-color: var(--portal-accent-soft); }
.customer-portal .bgp-green { background-color: var(--portal-mint-soft); }
.customer-portal .portal-login-form .text-mtm-60 { color: var(--portal-accent); }
.customer-portal .form-control:focus,
.customer-portal .form-select:focus { box-shadow: 0 0 0 3px rgb(63 76 134 / 12%); }

/* Brand color is concentrated in key surfaces, with neutral workspace surroundings. */
.customer-portal .dashboard-invoice .dashboard-icon { background: rgb(255 255 255 / 12%); color: #0dffcb; }
.customer-portal .dashboard-invoice .invoice-state.is-unpaid { background: #fff0d8; color: #80501a; }
.customer-portal .dashboard-invoice .invoice-state.is-paid { background: #d4fbef; color: #14634c; }
.customer-portal footer { border-top: 3px solid #0dffcb; }
.customer-portal .sidebar-service { background: #e6f8f3; }
.customer-portal .sidebar-service > i { color: #008778; }
/* Footer follows the public MTM site while keeping the portal's existing links. */
.customer-portal > footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #010799;
    border-top: 0;
    padding-top: 12px;
}
.customer-portal > footer::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 145%;
    height: 440px;
    left: -22%;
    top: 85px;
    border-radius: 50%;
    border-top: 85px solid rgb(10 85 255 / 22%);
    transform: rotate(-5deg);
}
.customer-portal > footer .footer { position: relative; }
.customer-portal > footer .footer-logo { width: 60px; max-width: 60px; flex-shrink: 0; }
.customer-portal > footer .footer > .d-sm-block > .row > div:first-child > .mb-3 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.customer-portal > footer .footer-body,
.customer-portal > footer .footer-body.text-light,
.customer-portal > footer .footer-body .text-light {
    color: #bfcafa !important;
    font-size: 13px;
    line-height: 1.65;
}
.customer-portal > footer .footer-header {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    margin-bottom: 12px;
}
.customer-portal > footer .footer-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 3px;
    border-radius: 2px;
    background: #0dffcb;
}
.customer-portal > footer .footer-body a:hover { color: #0dffcb !important; }
.customer-portal > footer .footer > .d-sm-block > .row > div:first-child li a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.customer-portal > footer .footer > .d-sm-block > .row > div:first-child li i {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 7px;
    background: rgb(255 255 255 / 10%);
    color: #0dffcb;
}
.customer-portal > footer .footer > .d-sm-block > .row > div:not(:first-child) .footer-body {
    position: relative;
    padding-left: 12px;
}
.customer-portal > footer .footer > .d-sm-block > .row > div:not(:first-child) .footer-body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0dffcb;
}
.customer-portal > footer .sosmed-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.customer-portal > footer .sosmed-wrap ul { display: contents; }
.customer-portal > footer .sosmed-list {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    background: rgb(255 255 255 / 10%);
}
.customer-portal > footer .sosmed-list a { display: grid !important; place-items: center; width: 100%; height: 100%; }
.customer-portal > footer .sosmed-list:hover { background: rgb(13 255 203 / 22%); }
.customer-portal > footer hr { border-color: rgb(255 255 255 / 15%); opacity: 1; margin-top: 32px !important; }
.customer-portal > footer .brand-info { text-align: left !important; padding: 0 0 12px !important; font-size: 12px; color: #a8b6eb !important; }
@media (min-width: 992px) {
    .portal-app > footer .container { padding: 30px 38px 12px !important; }
}
@media (max-width: 991.98px) {
    .customer-portal > footer .footer { padding-top: 24px; }
    .customer-portal > footer .footer > .d-sm-block > .row { row-gap: 18px; }
}
/* Compact footer for the signed-in customer workspace. */
.customer-portal > .portal-compact-footer {
    padding: 0;
    margin-top: auto;
}
.customer-portal > .portal-compact-footer::before { content: none; }
.compact-footer-inner {
    min-height: 72px;
    padding: 20px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: #c8d2ff;
}
.compact-footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.compact-footer-inner a { color: #dce3ff; text-decoration: none; }
.compact-footer-inner a:hover { color: #0dffcb; }
@media (max-width: 991.98px) {
    .customer-portal > .portal-compact-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .compact-footer-inner { flex-direction: column; gap: 10px; padding: 20px 18px; text-align: center; }
    .compact-footer-inner nav { justify-content: center; gap: 8px 16px; font-size: 11px; }
}
/* Invoice: customer details and payment summary share the dashboard hierarchy. */
.invoice-page-icon { width: 52px; height: 52px; border-radius: 12px; background: #e9edff; color: #010799; display: grid; place-items: center; font-size: 23px; flex-shrink: 0; }
.invoice-page-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: start; }
.invoice-details-card, .invoice-amount-card { border: 1px solid #e0e7ef; border-radius: 16px; background: white; overflow: hidden; }
.invoice-details-card { padding: 28px; }
.invoice-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.invoice-section-heading h2 { margin: 0; font-size: 16px; color: #253952; letter-spacing: -.02em; }
.invoice-details-list { margin: 0; }
.invoice-details-list > div { padding: 18px 0; border-bottom: 1px solid #eef1f5; }
.invoice-details-list > div:first-child { padding-top: 0; }
.invoice-details-list > div:last-child { border-bottom: 0; }
.invoice-details-list dt { font-size: 12px; color: #718096; font-weight: 400; margin-bottom: 6px; }
.invoice-details-list dd { margin: 0; color: #253952; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.invoice-copy { border: 0; background: #eef1ff; color: #010799; border-radius: 5px; padding: 4px 8px; margin-left: 8px; cursor: pointer; }
.invoice-help-link { display: flex; align-items: center; gap: 10px; border-top: 1px solid #eef1f5; margin-top: 12px; padding-top: 20px; font-size: 12px; color: #010799; text-decoration: none; }
.invoice-help-link > i:last-child { margin-left: auto; }
.invoice-total-heading { padding: 28px; background: #101b8c; position: relative; }
.invoice-total-heading .dashboard-eyebrow { color: #c8d7ff; }
.invoice-total-heading h2 { font-size: clamp(30px,3vw,40px); letter-spacing: -.04em; color: white; margin: 12px 0 0; overflow-wrap: anywhere; }
.invoice-total-heading .invoice-state { float: right; }
.invoice-breakdown { padding: 28px; }
.customer-portal .invoice-breakdown h3 { font-size: 15px; color: #253952; margin: 0 0 24px; letter-spacing: -.02em; }
.invoice-breakdown dl { margin-bottom: 0; }
.invoice-breakdown dl > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; font-size: 13px; }
.invoice-breakdown dt { color: #718096; font-weight: 400; }
.invoice-breakdown dd { margin: 0; font-weight: 600; color: #253952; text-align: right; }
.invoice-breakdown .invoice-total-row { border-top: 1px solid #e0e7ef; margin-top: 22px; padding-top: 20px; margin-bottom: 0; }
.invoice-total-row dt, .invoice-total-row dd { font-weight: 700; color: #010799; }
.invoice-pay-link, .invoice-download-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
.invoice-pay-link { background: #0dffcb; color: #07156b; margin-top: 26px; }
.invoice-pay-link:hover { background: #35f5d0; color: #07156b; }
.invoice-pay-link > i:last-child { margin-left: auto; }
.invoice-download-link { border: 1px solid #dce2f0; color: #010799; margin-top: 12px; }
.invoice-download-link:hover { background: #eef1ff; color: #010799; }
.invoice-paid-date { display: flex; gap: 10px; color: #246c56; background: #e3faf3; padding: 12px; border-radius: 8px; font-size: 12px; margin-top: 24px; align-items: center; }
.invoice-paid-date strong { display: block; }
@media (max-width: 767.98px) {
    .invoice-page-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .invoice-details-card, .invoice-total-heading, .invoice-breakdown { padding: 22px; }
    .invoice-workspace .dashboard-heading { display: flex; align-items: flex-start; }
    .invoice-workspace .dashboard-heading p { max-width: 45ch; }
    .invoice-page-icon { width: 42px; height: 42px; font-size: 18px; }
}
@media (max-width: 767.98px) {
    .invoice-amount-card { order: -1; }
}
/* Transactions: compact current invoice and readable payment history. */
.transaction-overview { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 24px; background: white; border: 1px solid #e0e7ef; border-radius: 14px; padding: 26px; margin-bottom: 28px; }
.transaction-overview-label { display: block; font-size: 11px; color: #718096; margin-bottom: 8px; }
.transaction-overview strong { display: block; font-size: 14px; color: #253952; }
.transaction-overview .transaction-current-total { font-size: 22px; color: #010799; letter-spacing: -.03em; }
.transaction-current-action { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.transaction-status { display: inline-block; padding: 5px 10px; border-radius: 5px; font-size: 10px; font-weight: 600; text-decoration: none; line-height: 1.5; }
.status-paid { background: #e3f6ee; color: #1a7053; }
.status-unpaid { background: #fff1df; color: #86551c; }
.transaction-pay { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: #010799; color: white; border-radius: 7px; padding: 10px 14px; font-size: 12px; font-weight: 600; text-decoration: none; }
.transaction-pay:hover { background: #070d78; color: white; }
.transaction-history-card { border: 1px solid #e0e7ef; border-radius: 14px; overflow: hidden; background: white; }
.transaction-table-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; gap: 16px; }
.transaction-table-heading h2 { color: #253952; font-size: 16px; margin: 0; }
.transaction-table-heading > span { color: #718096; font-size: 11px; }
.customer-portal .transaction-table { table-layout: fixed; font-size: 12px; }
.customer-portal .transaction-table thead { background: #f5f7fb; color: #718096; font-size: 10px; }
.customer-portal .transaction-table > :not(caption) > * > * { padding: 18px 12px; border-bottom: 1px solid #eef1f5; overflow-wrap: anywhere; }
.transaction-table tbody tr:last-child > * { border-bottom: 0 !important; }
.transaction-table tbody tr:hover { background: #fafbfe; }
.transaction-number { color: #94a3b8; font-weight: 400; }
.transaction-value { font-weight: 600; color: #253952; }
.transaction-download { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e0e5f2; border-radius: 6px; color: #010799; font-size: 10px; text-decoration: none; }
.transaction-download:hover { background: #eef1ff; color: #010799; }
.transaction-empty { text-align: center; padding: 50px 20px !important; }
.transaction-empty > i { display: block; font-size: 28px; color: #8492a6; margin-bottom: 16px; }
.transaction-empty strong { display: block; color: #253952; }
.transaction-empty p { color: #718096; margin: 8px 0 0; }
@media (max-width: 1199.98px) { .transaction-overview { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) {
    .transaction-overview { gap: 22px 16px; padding: 22px; }
    .transaction-overview strong { font-size: 12px; }
    .transaction-overview .transaction-current-total { font-size: 20px; }
    .transaction-table-heading { padding: 20px; }
    .transaction-table-heading > span { display: none; }
    .transaction-table colgroup, .transaction-table thead { display: none; }
    .customer-portal .transaction-table, .transaction-table tbody { display: block; width: 100%; }
    .transaction-table tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; gap: 12px 16px; border-top: 1px solid #e0e7ef; }
    .customer-portal .transaction-table tbody tr > td { display: block; border: 0; padding: 0; font-size: 12px; }
    .transaction-table .transaction-number { display: none; }
    .transaction-table td[data-label]::before { content: attr(data-label); display: block; font-weight: 400; color: #718096; font-size: 10px; margin-bottom: 4px; }
    .transaction-table td:nth-child(3) { text-align: right; }
    .transaction-table .transaction-status-cell { text-align: right !important; }
    .transaction-table td:last-child { grid-column: 1 / -1; text-align: left !important; }
    .transaction-download { font-size: 11px; padding: 9px 12px; }
    .transaction-table .transaction-empty { grid-column: 1 / -1; }
}
/* Transaction text sizes remain readable on desktop and phones. */
.transaction-workspace .transaction-overview-label { font-size: 13px; }
.transaction-workspace .transaction-overview strong { font-size: 16px; }
.transaction-workspace .transaction-overview .transaction-current-total { font-size: 24px; }
.transaction-workspace .transaction-table-heading > span { font-size: 13px; }
.customer-portal .transaction-workspace .transaction-table { font-size: 14px; }
.customer-portal .transaction-workspace .transaction-table thead { font-size: 13px; }
.transaction-workspace .transaction-status { font-size: 12px; padding: 6px 10px; }
.transaction-workspace .transaction-download { font-size: 12px; padding: 9px 10px; }
.transaction-workspace .transaction-pay { font-size: 14px; }
@media (max-width: 767.98px) {
    .customer-portal .transaction-workspace .transaction-table tbody tr > td { font-size: 14px; }
    .transaction-workspace .transaction-table td[data-label]::before { font-size: 12px; margin-bottom: 6px; }
    .transaction-workspace .transaction-overview strong { font-size: 14px; }
    .transaction-workspace .transaction-overview .transaction-current-total { font-size: 22px; }
    .transaction-workspace .transaction-table tbody tr { gap: 16px; }
}
/* My Package: separate the subscribed plan from live device information. */
.package-page-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 24px; align-items: stretch; }
.package-plan-card { padding: 30px; border-radius: 16px; background: #101b8c; color: white; display: flex; flex-direction: column; align-items: flex-start; }
.package-plan-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / 12%); color: #0dffcb; font-size: 22px; margin-bottom: 26px; }
.customer-portal .package-plan-card p { font-size: 14px; color: #c8d7ff; margin-bottom: 8px; }
.package-plan-card h2 { color: white; font-size: 30px; letter-spacing: -.035em; margin-bottom: 28px; overflow-wrap: anywhere; }
.package-plan-brand { color: #c8d7ff; font-size: 12px; border-top: 1px solid rgb(255 255 255 / 16%); width: 100%; padding-top: 18px; margin-top: auto; }
.package-connection-card { background: white; border: 1px solid #e0e7ef; border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.package-connection-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.package-connection-heading h2, .package-traffic-card h2, .package-graph-card h2 { color: #253952; font-size: 17px; margin: 0; letter-spacing: -.02em; }
.package-status-dot { width: 10px; height: 10px; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
.package-status-dot.is-online { background: #138362; box-shadow: 0 0 0 5px #e3f6ee; }
.package-status-dot.is-offline { background: #b45d32; box-shadow: 0 0 0 5px #fff0e6; }
.package-status-message { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 10px; font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.package-status-message i { margin-top: 5px; }
.package-status-message strong { font-weight: 500; }
.package-status-message.is-online { color: #1a7053; background: #eaf8f1; }
.package-status-message.is-offline { color: #8a492b; background: #fff4ea; }
.package-signal { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; margin-bottom: 24px; }
.package-signal span { color: #718096; }
.package-signal strong { color: #253952; }
.package-support-link { margin-top: auto; border-top: 1px solid #eef1f5; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #010799; font-size: 13px; text-decoration: none; }
.package-traffic-card, .package-graph-card { margin-top: 24px; background: white; border: 1px solid #e0e7ef; border-radius: 14px; padding: 26px; }
.package-traffic-card { display: flex; align-items: center; gap: 16px; }
.package-traffic-link { display: flex; align-items: center; justify-content: center; gap: 18px; background: #010799; color: white; padding: 12px 18px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; margin-left: auto; }
.package-traffic-link:hover { background: #070d78; color: white; }
.package-graph-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.package-graph-heading a { display: flex; align-items: center; gap: 12px; color: #010799; font-size: 13px; text-decoration: none; }
.package-graph { display: block; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 767.98px) {
    .package-page-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .package-workspace .dashboard-heading { display: flex; align-items: flex-start; }
    .package-plan-card, .package-connection-card { padding: 24px; }
    .package-plan-card h2 { font-size: 28px; margin-bottom: 22px; }
    .package-plan-icon { margin-bottom: 20px; }
    .package-traffic-card { flex-wrap: wrap; padding: 22px; }
    .package-traffic-card > div { flex: 1; }
    .package-traffic-link { width: 100%; margin: 6px 0 0; }
    .package-graph-card { padding: 20px; }
    .package-graph-heading { flex-wrap: wrap; }
}
/* Keep short workspace pages full-height without exposing the legacy root background. */
.customer-portal.portal-app {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.portal-app > .main-container { flex: 1 0 auto; }
.portal-app > .portal-compact-footer { flex-shrink: 0; }
/* Support: service actions, diagnostics and frequently asked questions. */
.support-workspace .dashboard-heading { display: flex; align-items: flex-start; }
.support-action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.support-action { display: flex; align-items: center; gap: 14px; padding: 24px 20px; background: white; border: 1px solid #e0e7ef; border-radius: 12px; color: #253952; text-decoration: none; }
.support-action strong { font-size: 15px; font-weight: 600; }
.support-action > i { margin-left: auto; color: #010799; font-size: 12px; }
.support-action .support-channel { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: #eef2ff; color: #010799; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.support-contact-card .support-contact-note { font-size: 13px; color: #c8d7ff; margin-bottom: 16px; }
.support-action:hover { border-color: #9ca6dd; color: #010799; }
.support-dns-card { display: flex; align-items: center; gap: 24px; justify-content: space-between; background: white; border: 1px solid #e0e7ef; border-radius: 12px; padding: 22px 24px; margin-bottom: 28px; }
.support-dns-heading { display: flex; align-items: center; gap: 14px; }
.support-dns-heading h2, .support-faq-card > h2 { font-size: 18px; color: #253952; margin: 0; letter-spacing: -.02em; }
.support-primary-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: #010799; color: white; text-decoration: none; border-radius: 8px; font-size: 14px; font-weight: 600; }
.support-primary-link:hover { color: white; background: #070d78; }
.support-dns-results { display: flex; gap: 24px; flex-wrap: wrap; }
.support-dns-results > div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.support-content-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 24px; align-items: start; }
.support-faq-card { background: white; border: 1px solid #e0e7ef; border-radius: 14px; overflow: hidden; }
.support-faq-card > h2 { padding: 24px; }
.support-workspace .accordion-item { border: 0; border-top: 1px solid #eef1f5; background: white; }
.support-workspace .accordion-button { font-size: 15px; font-weight: 500; padding: 22px 24px; line-height: 1.6; color: #253952; box-shadow: none; }
.support-workspace .accordion-button:not(.collapsed) { background: #f4f6ff; color: #010799; }
.support-workspace .accordion-button:focus-visible { outline: 3px solid #6876ac; outline-offset: -3px; }
.support-workspace .accordion-body { font-size: 14px; color: #58677b; line-height: 1.8; padding: 20px 24px; overflow-wrap: anywhere; }
.support-workspace .accordion-body img { max-width: 100%; height: auto; }
.support-workspace .accordion-body p { font-size: 14px; }
.support-contact-card { border-radius: 14px; background: #101b8c; padding: 28px; color: white; }
.support-contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgb(255 255 255 / 12%); color: #0dffcb; font-size: 23px; margin-bottom: 24px; }
.support-contact-card h2 { font-size: 21px; color: white; line-height: 1.5; letter-spacing: -.025em; margin-bottom: 12px; }
.customer-portal .support-contact-card p { color: #c8d7ff; font-size: 14px; margin-bottom: 24px; }
.support-contact-card a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 8px; background: #0dffcb; color: #07156b; font-size: 14px; font-weight: 600; text-decoration: none; }
.support-contact-card a > i:last-child { margin-left: auto; font-size: 12px; }
.support-contact-card a:hover { background: #35f5d0; }
.support-empty { padding: 24px; color: #718096; font-size: 14px; }
@media (max-width: 1199.98px) { .support-action { padding: 20px 16px; gap: 10px; } .support-action strong { font-size: 14px; } }
@media (max-width: 767.98px) {
    .support-action-grid, .support-content-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .support-action { padding: 20px; flex-wrap: wrap; }
    .support-action strong { font-size: 15px; flex: 1 1 auto; min-width: 0; }
    .support-action .support-channel { order: 2; margin-left: 0; }
    .support-action > i { order: 3; }
    .account-contact a { flex-wrap: wrap; }
    .support-dns-card { flex-wrap: wrap; padding: 22px; gap: 20px; }
    .support-primary-link { justify-content: center; width: 100%; }
    .support-dns-results { gap: 16px; }
    .support-faq-card > h2 { font-size: 17px; padding: 22px; }
    .support-workspace .accordion-button { padding: 20px; }
    .support-workspace .accordion-body { padding: 18px 20px; }
    .support-contact-card { padding: 24px; }
}
/* Support tools retain their existing forms and embedded speed test. */
.support-back-link { display: inline-flex; align-items: center; gap: 10px; color: #64748b; text-decoration: none; font-size: 14px; margin-bottom: 20px; }
.support-subpage .dashboard-heading { margin-bottom: 24px; }
.support-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.support-subnav a { border: 1px solid #e0e7ef; background: white; border-radius: 8px; padding: 10px 18px; color: #58677b; font-size: 14px; text-decoration: none; }
.support-subnav a.is-current { background: #010799; border-color: #010799; color: white; }
.support-tool-card { background: white; border: 1px solid #e0e7ef; border-radius: 16px; padding: 28px; }
.restart-tool { max-width: 800px; }
.customer-portal .restart-details { margin: 0; font-size: 15px; }
.customer-portal .restart-details td.text-end { text-align: left !important; color: #718096; width: 28%; }
.customer-portal .restart-details th { color: #253952; font-weight: 600; overflow-wrap: anywhere; }
.restart-confirmation { background: #fff4ea; color: #8a492b; padding: 18px; border-radius: 8px; font-size: 14px; line-height: 1.7; }
.restart-tool .btn-danger { border-radius: 8px; font-size: 15px; }
.restart-tool .countdown { font-variant-numeric: tabular-nums; font-size: 32px; }
.customer-portal .speedtest-description { font-size: 15px; line-height: 1.8; color: #58677b; font-weight: 400; margin: 0 0 24px; }
.speedtest-frame { border: 1px solid #e0e7ef; border-radius: 10px; overflow: hidden; }
.speedtest-frame iframe { display: block; width: 100%; border: 0; }
@media (max-width: 767.98px) {
    .support-tool-card { padding: 20px; }
    .speedtest-tool { padding: 18px 12px; }
    .customer-portal .restart-details { font-size: 14px; }
    .customer-portal .restart-details td.text-end { width: 32%; }
    .customer-portal .restart-details > :not(caption) > * > * { padding-left: 4px; padding-right: 4px; }
    .support-subnav a { font-size: 14px; padding: 10px 14px; }
}
@media (max-width: 767.98px) {
    .restart-details tr { display: block; }
    .customer-portal .restart-details td.text-end { display: block; width: 100%; padding-bottom: 8px !important; }
    .customer-portal .restart-details th { display: block; padding-top: 0 !important; }
}
/* Account: customer records and sign-in settings have separate panels. */
.account-workspace .dashboard-heading { display: flex; align-items: flex-start; }
.account-page-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 24px; align-items: start; }
.account-data-card, .account-settings-card { padding: 28px; border: 1px solid #e0e7ef; border-radius: 14px; background: white; }
.account-section-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; }
.account-section-heading h2, .account-password-card h2 { color: #253952; font-size: 18px; margin: 0; letter-spacing: -.02em; }
.account-data-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin: 0; }
.account-data-list dt { color: #718096; font-size: 13px; font-weight: 400; margin-bottom: 7px; }
.account-data-list dd { color: #253952; font-size: 15px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.account-data-list .account-address { grid-column: 1 / -1; border-top: 1px solid #eef1f5; padding-top: 22px; }
.account-contact { margin-top: 26px; border-top: 1px solid #eef1f5; padding-top: 22px; }
.customer-portal .account-contact p { font-size: 14px; color: #64748b; margin-bottom: 12px; }
.account-contact a { display: inline-flex; align-items: center; gap: 12px; color: #010799; text-decoration: none; font-size: 14px; font-weight: 600; }
.account-contact a .support-channel { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: #eef2ff; color: #010799; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.account-settings { display: grid; gap: 22px; }
.account-settings-card label { font-size: 13px; color: #718096; margin-bottom: 8px; }
.account-settings-card input.form-control { font-size: 15px; }
.account-settings-card input:disabled { background: #f5f7fb; color: #334155; }
.account-edit-button, .account-password-link { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 8px; background: #010799; color: white; font-size: 14px; font-weight: 600; width: 100%; margin-top: 20px; text-decoration: none; }
.account-edit-button:hover, .account-password-link:hover { background: #070d78; color: white; }
.account-edit-actions { display: flex; gap: 12px; margin-top: 20px; }
.account-edit-actions .btn { flex: 1; padding: 12px; font-size: 14px; }
.account-cancel { background: #eef1f5; color: #475569; }
.account-save { background: #010799; color: white; }
.account-save:hover { background: #070d78; color: white; }
.account-password-card { background: #f0f3ff; }
.account-lock-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #e1e7ff; border-radius: 10px; color: #010799; font-size: 18px; margin-bottom: 20px; }
.account-password-link { background: white; border: 1px solid #dce2f0; color: #010799; justify-content: space-between; }
@media (max-width: 767.98px) {
    .account-page-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .account-data-card, .account-settings-card { padding: 22px; }
    .account-data-list { gap: 22px 16px; }
    .account-data-list dd { font-size: 14px; }
    .account-data-list > div:nth-child(6) { grid-column: 1 / -1; }
}
/* Password settings reuse the account form hierarchy. */
.password-workspace .dashboard-heading { display: flex; align-items: flex-start; }
.password-form-card { max-width: 720px; background: white; border: 1px solid #e0e7ef; border-radius: 16px; padding: 30px; }
.password-field { margin-bottom: 24px; }
.password-field label { display: block; font-size: 14px; color: #334155; margin-bottom: 10px; }
.customer-portal .password-field .form-control { font-size: 15px; padding: 14px 16px; }
.password-field .password-icon { padding: 12px 16px; background: white; }
.password-forgot { display: block; text-align: right; color: #010799; font-size: 13px; font-weight: 500; margin-top: 12px; text-decoration: none; }
.password-new-section { padding-top: 24px; border-top: 1px solid #eef1f5; }
.password-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid #eef1f5; padding-top: 24px; }
.password-cancel, .password-save { padding: 12px 18px; font-size: 14px; font-weight: 600; border-radius: 8px; text-decoration: none; }
.password-cancel { color: #58677b; background: #f1f4f8; }
.password-save { display: inline-flex; align-items: center; gap: 10px; border: 0; background: #010799; color: white; }
.password-save:hover { background: #070d78; }
@media (max-width: 767.98px) {
    .password-form-card { padding: 22px; }
    .password-form-actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .password-save { justify-content: center; }
}
/* Flash messages align with the customer workspace rather than Bootstrap columns. */
.portal-messages { width: 100%; max-width: 1200px; margin: 0 auto; }
.portal-messages.portal-messages-form { max-width: 720px; margin-left: max(0px, calc((100% - 1200px) / 2)); margin-right: 0; }
.portal-messages .alert {
    width: 100%;
    max-width: none;
    border-radius: 10px;
    padding: 16px 48px 16px 18px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px !important;
    border: 1px solid transparent;
}
.portal-messages .alert-success { background: #e8f8f1; color: #20664e; border-color: #c9eadd; border-left: 4px solid #229774; }
.portal-messages .alert-danger { background: #fff0ef; color: #a13c3c; border-color: #f3d4d1; border-left: 4px solid #c65b56; }
.portal-messages .alert-warning { background: #fff5e7; color: #86551c; border-color: #efdfc4; border-left: 4px solid #bc873a; }
.portal-messages .alert .btn-close { padding: 19px 16px; font-size: 12px; }
/* Halaman auth: alert selebar kartu login (bukan kotak kecil melayang) dan rata kiri. */
.portal-messages.portal-messages-auth { width: 100%; max-width: 1000px; text-align: left; }
@media (max-width: 767.98px) { .portal-messages .alert { padding-left: 14px; } }
/* Notification feed uses content-sized cards instead of fixed-height banners. */
.notification-workspace .dashboard-heading { display: flex; align-items: flex-start; }
.notification-feed { display: grid; gap: 20px; margin: 0; }
.notification-feed-card { background: white; border: 1px solid #e0e7ef; border-radius: 14px; overflow: hidden; }
.notification-feed-card.has-image { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0,1.3fr); }
.notification-feed-image { padding: 24px; background: #f0f3fa; display: flex; align-items: center; justify-content: center; }
.notification-feed-image img { display: block; max-width: 100%; max-height: 260px; height: auto; object-fit: contain; }
.notification-feed-content { padding: 26px 28px; }
.notification-date { display: flex; align-items: center; gap: 8px; color: #718096; font-size: 13px; margin-bottom: 12px; }
.notification-feed-content h2 { font-size: 21px; color: #253952; letter-spacing: -.025em; line-height: 1.5; margin-bottom: 12px; overflow-wrap: anywhere; }
.customer-portal .notification-excerpt { font-size: 15px; line-height: 1.8; color: #58677b; margin: 0; overflow-wrap: anywhere; }
.notification-read-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: #010799; text-decoration: none; margin-top: 20px; }
.notification-empty { background: white; border: 1px solid #e0e7ef; border-radius: 14px; padding: 48px 24px; text-align: center; }
.notification-empty .invoice-page-icon { margin: 0 auto 20px; }
.notification-empty h2 { color: #253952; font-size: 20px; }
.notification-empty p { color: #718096; font-size: 14px; }
.notification-article { background: white; border: 1px solid #e0e7ef; border-radius: 16px; padding: 36px; max-width: 940px; }
.notification-article h1 { font-size: 30px; letter-spacing: -.035em; line-height: 1.4; color: #253952; margin: 0 0 26px; overflow-wrap: anywhere; }
.notification-article-image { display: block; max-width: 100%; max-height: 480px; height: auto; margin: 0 auto 30px; border-radius: 8px; object-fit: contain; }
.notification-richtext { color: #475569; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.customer-portal .notification-richtext p { font-size: 15px; }
.notification-richtext img, .notification-richtext video, .notification-richtext iframe { max-width: 100%; }
.notification-richtext img { height: auto; }
.notification-richtext { overflow-x: auto; }
@media (max-width: 767.98px) {
    .notification-feed-card.has-image { grid-template-columns: minmax(0,1fr); }
    .notification-feed-content { padding: 22px; }
    .notification-feed-content h2 { font-size: 19px; }
    .notification-article { padding: 24px 22px; }
    .notification-article h1 { font-size: 25px; }
}
.home-notifications-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.home-notifications-heading h2 { font-size: 18px; color: #253952; margin: 0; letter-spacing: -.02em; }
.home-notifications-heading .notification-read-link { margin: 0; }
.home-notifications-more { text-align: center; margin-top: 22px; }
.home-notifications-more .btn { padding: 12px 20px; font-size: 14px; }
/* Home greeting stays compact while giving the customer identity a clear home. */
.home-welcome-hero {
    position: relative;
    padding: 26px 28px;
    background: #eef2fb;
    border: 1px solid #dde5f3;
    border-left: 4px solid #00bda0;
    border-radius: 14px;
    margin-bottom: 24px;
}
.home-welcome-hero .dashboard-eyebrow { color: #52658a; font-size: 11px; letter-spacing: .14em; }
.home-welcome-hero h1 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 8px; margin-bottom: 10px; line-height: 1.3; }
.home-welcome-hero h1 .text-capitalize { color: #010799; }
.customer-portal .home-welcome-hero p { color: #5e708a; font-size: 14px; }
.home-welcome-hero .customer-id-block {
    border: 1px solid #dce4f1;
    background: white;
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 165px;
}
.home-welcome-hero .customer-id-block > span { font-size: 12px; margin-bottom: 6px; }
.home-welcome-hero .customer-id-block strong { font-size: 17px; letter-spacing: .03em; color: #253952; }
.home-welcome-hero .customer-id-block .icon-badge {
    position: static;
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    margin: 0 0 0 12px;
    padding: 0;
    background: #eef1ff;
    color: #010799;
    font-size: 13px;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .home-welcome-hero { padding: 22px; flex-direction: column; align-items: flex-start; gap: 18px; }
    .home-welcome-hero .customer-id-block { margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 14px; }
    .home-welcome-hero .customer-id-block > span { margin-bottom: 0; }
    .home-welcome-hero h1 { font-size: 28px; }
    .customer-portal .home-welcome-hero p { font-size: 14px; }
}
.home-welcome-hero .customer-id-block .myTooltip { display: flex; align-items: center; flex-shrink: 0; }
@media (max-width: 767.98px) {
    .home-welcome-hero .customer-id-block { gap: 8px; }
    .home-welcome-hero .customer-id-block strong { font-size: 15px; }
    .home-welcome-hero .customer-id-block .icon-badge { width: 30px; height: 30px; flex-basis: 30px; margin-left: 8px; padding: 0; }
}
