html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

:root {
    --app-max-width: 1240px;
    --bc-bg: #f5f6f7;
    --bc-surface: #ffffff;
    --bc-line: #d9d9d9;
    --bc-line-soft: #e9ecef;
    --bc-text: #1f2937;
    --bc-text-soft: #6b7280;
    --bc-primary: #007e87;
    --bc-primary-soft: #b2e9ed;
    --bc-hover: #f0fbfc;
    --bc-selected: #b2e9ed;
    --bc-danger: #c62828;
    --bc-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 3px 10px rgba(16, 24, 40, 0.06);
    --bc-radius: 10px;
}

body {
    margin: 0;
    color: var(--bc-text);
    background: var(--bc-bg);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
    color: var(--bc-primary);
    text-decoration: none;
}

a:hover {
    color: #00626a;
    text-decoration: none;
}

.bg-app {
    background: var(--bc-bg);
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--bc-surface);
    border-bottom: 1px solid var(--bc-line);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header-inner {
    width: 100%;
    max-width: var(--app-max-width);
    margin: 0 auto;
}

.app-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px 10px 24px;
}

.app-brand-wrap {
    display: flex;
    flex-direction: column;
}

.app-brand-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--bc-text);
    line-height: 1.2;
}

.app-brand-subtitle {
    font-size: 0.85rem;
    color: var(--bc-text-soft);
    margin-top: 2px;
}

.app-user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-user-name {
    font-size: 0.92rem;
    color: var(--bc-text-soft);
}

.app-login-btn,
.app-logout-btn {
    border: 1px solid var(--bc-line);
    background: var(--bc-surface);
    color: var(--bc-text);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.92rem;
    transition: all 0.15s ease;
}

.app-login-btn:hover,
.app-logout-btn:hover {
    background: var(--bc-primary-soft);
    border-color: var(--bc-primary);
    color: var(--bc-text);
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px 12px 20px;
    flex-wrap: wrap;
}

.app-nav-link {
    color: var(--bc-text);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.93rem;
    transition: all 0.15s ease;
}

.app-nav-link:hover {
    background: var(--bc-hover);
    color: var(--bc-primary);
}

.app-nav-link.active {
    background: var(--bc-primary-soft);
    color: var(--bc-primary);
    border-color: transparent;
    font-weight: 600;
}

.app-content {
    flex: 1;
    width: 100%;
    max-width: var(--app-max-width);
    margin: 0 auto;
    padding: 22px 24px 28px 24px;
}

.app-footer {
    border-top: 1px solid var(--bc-line);
    background: var(--bc-surface);
    color: var(--bc-text-soft);
    font-size: 0.9rem;
}

.app-footer span {
    display: block;
    width: 100%;
    max-width: var(--app-max-width);
    margin: 0 auto;
    padding: 12px 24px;
}

.page-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-line-soft);
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    padding: 20px 22px;
}

.page-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.page-subtitle {
    margin: 0;
    color: var(--bc-text-soft);
    font-size: 0.95rem;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card-bc {
    background: var(--bc-surface);
    border: 1px solid var(--bc-line-soft);
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
}

.card-bc-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--bc-line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-bc-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.card-bc-subtitle {
    margin: 4px 0 0 0;
    font-size: 0.88rem;
    color: var(--bc-text-soft);
}

.card-bc-body {
    padding: 18px 20px;
}

.btn-bc {
    border: 1px solid var(--bc-line);
    background: var(--bc-surface);
    color: var(--bc-text);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.93rem;
    transition: all 0.15s ease;
}

.btn-bc:hover {
    background: var(--bc-primary-soft);
    border-color: var(--bc-primary);
    color: var(--bc-text);
}

.btn-bc-primary {
    background: var(--bc-primary-soft);
    border: 1px solid var(--bc-primary);
    color: var(--bc-primary);
    font-weight: 600;
}

.btn-bc-primary:hover {
    background: var(--bc-primary);
    color: white;
}

.table-bc-wrap {
    overflow-x: auto;
}

.table-bc {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-bc thead th {
    background: #fafafa;
    color: var(--bc-text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bc-line);
    white-space: nowrap;
}

.table-bc tbody td {
    padding: 14px;
    border-bottom: 1px solid var(--bc-line-soft);
    vertical-align: top;
    font-size: 0.93rem;
}

.table-bc tbody tr:hover {
    background: var(--bc-hover);
}

.table-bc tbody tr:last-child td {
    border-bottom: none;
}

.text-soft {
    color: var(--bc-text-soft);
}

.text-small {
    font-size: 0.86rem;
}

.badge-bc {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.badge-active {
    background: #e8f7ea;
    color: #237b33;
}

.badge-grace {
    background: #fff4d6;
    color: #8a6300;
}

.badge-expired,
.badge-blocked,
.badge-suspended {
    background: #fde8e8;
    color: #a12b2b;
}

.form-label {
    font-weight: 600;
    color: var(--bc-text);
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 8px;
    border: 1px solid var(--bc-line);
    min-height: 40px;
    font-size: 0.94rem;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
.btn:focus,
.btn:active:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 126, 135, 0.15);
    border-color: var(--bc-primary);
}

.login-shell {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-line-soft);
    border-radius: 14px;
    box-shadow: var(--bc-shadow);
    padding: 28px;
}

.login-title {
    margin: 0 0 6px 0;
    font-size: 1.7rem;
    font-weight: 600;
}

.login-subtitle {
    color: var(--bc-text-soft);
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .app-header-top {
        padding: 14px 16px 10px 16px;
    }

    .app-nav {
        padding: 0 12px 12px 12px;
    }

    .app-content {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .app-user-area {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .page-title {
        font-size: 1.55rem;
    }
}

.action-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-bc-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
}

.badge-inactive {
    background: #f1f3f5;
    color: #6b7280;
}

/* =========================================================
   6Gen License Portal - BC / Vendor Portal UI override
   ========================================================= */

:root {
    --bc-bg: #f5f6f7;
    --bc-surface: #ffffff;
    --bc-border: #d7dde2;
    --bc-border-dark: #8a98a8;
    --bc-text: #1f2933;
    --bc-muted: #5f6b76;
    --bc-accent: #007e87;
    --bc-accent-soft: #B2E9ED;
    --bc-hover: #f0fbfc;
}

/* Main layout */
body {
    background: var(--bc-bg);
    color: var(--bc-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--bc-border);
    box-shadow: none;
}

.app-brand-title {
    color: var(--bc-text);
    font-size: 1.05rem;
    font-weight: 600;
}

.app-brand-subtitle {
    color: var(--bc-muted);
    font-size: 0.78rem;
}

.app-content {
    font-size: 0.875rem;
}

/* Menu */
.app-nav {
    gap: 0.35rem;
}

.app-nav-link {
    border-radius: 0.12rem !important;
    padding: 0.38rem 0.72rem;
    color: #243746;
    border: 1px solid transparent;
}

.app-nav-link:hover {
    background: #eef7f8;
    color: var(--bc-accent);
}

.app-nav-link.active {
    background: var(--bc-accent-soft) !important;
    color: var(--bc-accent) !important;
    border-color: #7fcfd6 !important;
    font-weight: 600;
}

/* Page header - less modern, more BC */
.page-header {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0.75rem 0 !important;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--bc-border) !important;
}

.page-title {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--bc-text);
}

.page-subtitle {
    color: var(--bc-muted);
    font-size: 0.86rem;
}

/* BC action bar */
.bc-actionbar,
.page-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
}

/* Buttons - neutral BC style, no Bootstrap blue */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-bc,
.btn-bc-primary,
.btn-bc-sm,
.app-login-btn,
.app-logout-btn {
    border: 1px solid #cdd4da !important;
    background: #f5f6f7 !important;
    color: #243746 !important;
    border-radius: 0.12rem !important;
    padding: 0.28rem 0.62rem !important;
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    min-height: 1.8rem;
    box-shadow: none !important;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-bc:hover,
.btn-bc-primary:hover,
.btn-bc-sm:hover,
.app-login-btn:hover,
.app-logout-btn:hover {
    border-color: #8fd3d9 !important;
    background: var(--bc-accent-soft) !important;
    color: var(--bc-accent) !important;
    box-shadow: none !important;
}

.btn-bc-primary,
.btn-primary {
    color: var(--bc-accent) !important;
    font-weight: 600;
}

.btn-bc-sm {
    min-width: 58px;
    text-align: center;
    white-space: nowrap;
}

/* BC FastTab / ListPart */
.card-bc,
.bc-fasttab,
.bc-listpart {
    border: 1px solid var(--bc-border) !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 100%;
    overflow: hidden;
}

.card-bc-header,
.bc-fasttab-caption,
.bc-listpart-caption {
    background: #f5f6f7 !important;
    border-bottom: 1px solid var(--bc-border) !important;
    color: var(--bc-accent) !important;
    font-weight: 600;
    padding: 0.48rem 0.75rem !important;
}

.card-bc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bc-accent);
}

.card-bc-subtitle {
    font-size: 0.82rem;
    color: var(--bc-muted);
}

.card-bc-body,
.bc-fasttab-body {
    padding: 0.72rem 0.75rem;
}

/* Tables / grids */
.table-bc-wrap {
    width: 100%;
    overflow-x: auto;
}

.table-bc,
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 0;
}

.table-bc thead th,
.table thead th {
    background: #ffffff !important;
    border-bottom: 1px solid var(--bc-border-dark) !important;
    color: #33475b !important;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.42rem 0.55rem !important;
    white-space: nowrap;
}

.table-bc tbody td,
.table tbody td {
    background: #ffffff;
    border-bottom: 1px solid #d3d8dd !important;
    color: #111827;
    padding: 0.38rem 0.55rem !important;
    vertical-align: middle;
}

.table-bc tbody tr:hover td,
.table tbody tr:hover td {
    background: var(--bc-hover);
}

/* Action buttons in grids */
.action-btn-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.table-action-col {
    width: 1%;
    white-space: nowrap;
}

/* Badges */
.badge-bc,
.bc-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.18rem;
    border-radius: 0.12rem;
    background: var(--bc-accent-soft);
    color: var(--bc-accent);
    border: 1px solid #7fcfd6;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0 0.34rem;
    white-space: nowrap;
}

.badge-active {
    background: #e8f7ea;
    color: #237b33;
    border-color: #ccebd1;
}

.badge-inactive {
    background: #f1f3f5;
    color: #6b7280;
    border-color: #d7dde2;
}

.badge-grace {
    background: #fff4d6;
    color: #8a6300;
    border-color: #f1d48b;
}

.badge-expired,
.badge-blocked,
.badge-suspended {
    background: #fde8e8;
    color: #a12b2b;
    border-color: #efc5c5;
}

/* BC field layout */
.bc-info-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2.25rem;
    row-gap: 0.25rem;
}

.bc-info-grid {
    display: grid;
    grid-template-columns: minmax(145px, 0.9fr) minmax(180px, 1.1fr);
    column-gap: 0.7rem;
    row-gap: 0.36rem;
    align-items: center;
}

.bc-info-label {
    color: #263747;
    font-weight: 400;
    display: flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
}

.bc-info-label::after {
    content: "";
    flex: 1 1 auto;
    border-bottom: 2px dotted #d3d8dd;
    margin-left: 0.45rem;
    margin-top: 0.70rem;
    transform: translateY(-0.08rem);
}

.bc-info-value {
    color: #111827;
    min-width: 0;
    overflow-wrap: anywhere;
}

.form-control,
.form-select,
textarea.form-control,
.bc-input {
    border: 1px solid var(--bc-border-dark) !important;
    border-radius: 0.08rem !important;
    font-size: 0.82rem !important;
    min-height: 1.9rem;
    padding: 0.28rem 0.4rem !important;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
.bc-input:focus {
    border-color: var(--bc-accent) !important;
    box-shadow: 0 0 0 1px rgba(178, 233, 237, 0.75) !important;
    outline: 0;
}

/* Home tiles */
.home-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-tile {
    display: block;
    border: 1px solid var(--bc-border);
    background: #ffffff;
    padding: 0.8rem 0.9rem;
    color: var(--bc-text);
    text-decoration: none;
    min-height: 92px;
}

.home-tile:hover {
    background: var(--bc-hover);
    border-color: #8fd3d9;
    color: var(--bc-text);
}

.home-tile-title {
    font-weight: 600;
    color: var(--bc-accent);
    margin-bottom: 0.35rem;
}

.home-tile-text {
    color: var(--bc-muted);
    font-size: 0.82rem;
}

/* Code preview blocks */
pre {
    border-radius: 0 !important;
    border: 1px solid var(--bc-border) !important;
    background: #ffffff !important;
    font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 992px) {
    .home-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-info-columns {
        grid-template-columns: 1fr;
    }

    .bc-info-grid {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .home-tile-grid {
        grid-template-columns: 1fr;
    }

    .action-btn-group {
        flex-wrap: wrap;
    }
}

/* =========================================================
   License List - BC style filter pane
   ========================================================= */

.bc-filter-open-button {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
}

.bc-filter-button-icon {
    display: inline-flex;
    align-items: center;
    color: var(--bc-accent);
}

.bc-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.32rem;
    border-radius: 999px;
    background: var(--bc-accent);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 0.12rem;
}

.bc-active-filterbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    border: 1px solid var(--bc-border);
    background: #ffffff;
    padding: 0.42rem 0.55rem;
    margin-top: -0.4rem;
}

.bc-active-filterbar-title {
    color: var(--bc-muted);
    font-size: 0.78rem;
    font-weight: 600;
    margin-right: 0.15rem;
}

.bc-active-filter-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #7fcfd6;
    background: var(--bc-accent-soft);
    color: var(--bc-accent);
    border-radius: 0.12rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.bc-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.22);
    z-index: 1080;
    display: none;
}

.bc-filter-pane {
    position: fixed;
    top: 0;
    right: -390px;
    width: 390px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--bc-border);
    box-shadow: -8px 0 20px rgba(17, 24, 39, 0.16);
    z-index: 1090;
    transition: right 0.18s ease;
    display: flex;
    flex-direction: column;
}

body.bc-filter-open .bc-filter-backdrop {
    display: block;
}

body.bc-filter-open .bc-filter-pane {
    right: 0;
}

.bc-filter-form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bc-filter-pane-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid var(--bc-border);
    background: #f5f6f7;
    padding: 0.75rem;
}

.bc-filter-pane-title {
    color: var(--bc-accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.bc-filter-pane-subtitle {
    color: var(--bc-muted);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.bc-filter-pane-body {
    padding: 0.85rem 0.75rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.bc-filter-field {
    margin-bottom: 0.75rem;
}

.bc-filter-label {
    display: block;
    color: #263747;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.22rem;
}

.bc-filter-pane-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    border-top: 1px solid var(--bc-border);
    background: #f5f6f7;
    padding: 0.65rem 0.75rem;
}

.bc-actionbar-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.bc-actionbar-left,
.bc-actionbar-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.bc-actionbar-right {
    justify-content: flex-end;
    margin-left: auto;
}

/* =========================================================
   Header settings menu
   ========================================================= */

.app-settings-menu {
    display: inline-flex;
    align-items: center;
}

.app-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--bc-line);
    background: var(--bc-surface);
    color: var(--bc-text);
    border-radius: 0;
    padding: 0.32rem 0.65rem;
    font-size: 0.86rem;
    line-height: 1.2;
}

.app-settings-btn:hover,
.app-settings-btn:focus {
    background: var(--bc-primary-soft);
    border-color: var(--bc-primary);
    color: var(--bc-primary);
}

.app-settings-dropdown {
    border: 1px solid var(--bc-line);
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.14);
    font-size: 0.9rem;
}

.app-settings-dropdown .dropdown-item {
    padding: 0.45rem 0.9rem;
}

.app-settings-dropdown .dropdown-item:hover,
.app-settings-dropdown .dropdown-item.active {
    background: var(--bc-primary-soft);
    color: var(--bc-primary);
}

.app-settings-logout-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.app-settings-logout-item:hover,
.app-settings-logout-item:focus {
    background: var(--bc-primary-soft);
    color: var(--bc-primary);
}

/* =========================================================
   Login page - Vendor Portal / BC compact style
   ========================================================= */

.portal-login-wrapper {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem 3rem 1rem;
    background: #f7f8fa;
}

.portal-login-card {
    width: 480px;
    background: #ffffff;
    border: 1px solid #cfd8df;
    box-shadow: none;
}

.portal-login-header {
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid #cfd8df;
    background: #f8f9fa;
    color: #007c89;
    font-weight: 600;
    font-size: 0.95rem;
}

.portal-login-body {
    padding: 1rem 0.95rem 0.75rem 0.95rem;
}

.portal-login-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    margin-bottom: 0.65rem;
}

.portal-login-label {
    position: relative;
    color: #1f2933;
    font-size: 0.86rem;
    margin: 0;
    padding-right: 0.7rem;
    white-space: nowrap;
}

.portal-login-label::after {
    content: "";
    position: absolute;
    left: 4.4rem;
    right: 0.2rem;
    top: 50%;
    border-bottom: 2px dotted #d4dce2;
    transform: translateY(-50%);
}

.portal-login-input {
    height: 30px;
    border: 1px solid #8fa2b3;
    background: #ffffff;
    padding: 0.25rem 0.45rem;
    font-size: 0.86rem;
    outline: none;
    width: 100%;
}

.portal-login-input:focus {
    border-color: #008c95;
    box-shadow: 0 0 0 1px #008c95 inset;
}

.portal-login-separator {
    border-top: 1px solid #d9e1e7;
    margin: 0.9rem 0 0.75rem 0;
}

.portal-login-actions {
    display: flex;
    justify-content: flex-end;
}

.portal-login-button {
    min-width: 110px;
    height: 30px;
    border: 1px solid #c8d2da;
    background: #f7f9fa;
    color: #007c89;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
}

.portal-login-button:hover,
.portal-login-button:focus {
    background: #b2e9ed;
    border-color: #80cbd1;
    color: #005f66;
}

.portal-login-validation {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 560px) {
    .portal-login-wrapper {
        min-height: calc(100vh - 140px);
        padding: 1rem;
        align-items: flex-start;
    }

    .portal-login-card {
        width: 100%;
    }

    .portal-login-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .portal-login-label::after {
        display: none;
    }

    .portal-login-actions {
        justify-content: stretch;
    }

    .portal-login-button {
        width: 100%;
    }
}