/* ===================================================
   IBG Marketplace â€“ core.css
   =================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}
/* ---  Design tokens  --- */
:root {
    --bg: #f6f8fa;
    --card: #ffffff;
    --primary: #0078d4;
    --muted: #6b7280;
    --shadow-sm: 0 2px 8px rgba(16,24,40,0.06);
    --shadow-md: 0 6px 18px rgba(16,24,40,0.08);
    --shadow-lg: 0 12px 30px rgba(16,24,40,0.12);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

/* REMVOE FROME HER, MOVEE TO SHELL.CSS */

/* ---  CMS page body  --------------------------------------------------- */
.cms-body {
    max-width: 128rem;
    margin: 0;
    padding: 1.5rem 2rem;
    line-height: 1.7;
    width: 100%;
}

.cms-notfound {
    text-align: center;
    padding: 4rem 1rem;
}

/* ---  #subscriptions# tag rendered output  ----------------------------- */
.cms-subscriptions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.cms-sub-card {
    background: var(--card, #fff);
    border: 1px solid #e5e9f0;
    border-radius: var(--radius-lg, 14px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(16,24,40,0.06));
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cms-sub-card__name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.cms-sub-card__desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted, #6b7280);
    line-height: 1.5;
}

.cms-sub-card__apps {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cms-sub-app {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cms-sub-app__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent, #0078d4);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.cms-sub-app__link:hover {
    text-decoration: underline;
}

.cms-sub-app__icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.cms-sub-app__desc {
    font-size: 0.8rem;
    color: var(--muted, #6b7280);
    line-height: 1.4;
}

/* ---  Global app tile  ----------------------------------------------- */
/* Used by My Apps page, Welcome page, and the footer My Apps section.    */
.app-tile {
    display: inline-grid;
    grid-template-rows: auto 1fr;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 220px;
    min-height: 176px;
    padding: 0.55rem;
    border-radius: 14px;
    background: #f9f5ef;
    border: 1px solid #e4dfd4;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    text-decoration: none;
    text-align: left;
    color: #161616;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    border-color: #d2c8b7;
}

.app-tile:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 150, 90, 0.18), 0 6px 16px rgba(16, 24, 40, 0.12);
}

.app-tile__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    border-radius: 10px;
    background: #efe8dc;
    overflow: hidden;
}

.app-tile__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-tile__icon {
    font-size: 1.9rem;
    color: #806447;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.app-tile__meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0 0.2rem 0.2rem;
}

.app-tile__name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #111111;
}

.app-tile__desc {
    font-size: 0.84rem;
    line-height: 1.35;
    color: #5a5a5a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer tiles are slightly smaller */
.app-tile--sm {
    width: 132px;
    min-height: 112px;
    padding: 0.4rem;
}

.app-tile--sm .app-tile__media {
    height: 56px;
    border-radius: 8px;
}

.app-tile--sm .app-tile__name {
    font-size: 0.78rem;
}

.app-tile--sm .app-tile__desc {
    display: none;
}

/* Welcome-page tiles are larger */
.app-tile--lg {
    width: 240px;
    min-height: 192px;
}

.app-tile--lg .app-tile__media {
    height: 100px;
}

.app-tile--lg .app-tile__name {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ---  Utility classes  --- */
.card {
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,120,212,0.18);
}

/* ---------  ACCOUNT PAGE  --------- */
/* ---------                --------- */

.acct-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 0rem;
}

.acct-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b1220;
    margin: 0;
}

.acct-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acct-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e5e9f0;
}

.acct-email {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.acct-loading,
.acct-empty {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

/* â”€â”€ Subscription cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-sub-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.acct-sub-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 8px rgba(16,24,40,0.05);
}

.acct-sub-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acct-sub-card__icon {
    font-size: 1rem;
    color: #0078d4;
}

.acct-sub-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    flex: 1;
}

.acct-sub-public-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #065f46;
    background: #d1fae5;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.acct-sub-logon-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1e3a8a;
    background: #dbeafe;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.acct-sub-rights-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* View */
.acct-sub-rights-badge--1 { color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; }
/* View + Edit */
.acct-sub-rights-badge--2 { color: #7e22ce; background: #faf5ff; border: 1px solid #e9d5ff; }
/* View + Edit + Admin */
.acct-sub-rights-badge--3 { color: #c2410c; background: #fff7ed; border: 1px solid #fed7aa; }
/* View + Edit + Admin + Super */
.acct-sub-rights-badge--4 { color: #065f46; background: #ecfdf5; border: 1px solid #6ee7b7; }

.acct-sub-card__desc {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0;
}

.acct-sub-card__public-note {
    font-size: 0.8rem;
    color: #16a34a;
    margin: 0;
    font-style: italic;
}

.acct-sub-card__dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.acct-sub-card__date-label {
    color: #9ca3af;
    font-weight: 600;
}

.acct-sub-card__date-val {
    color: #374151;
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    margin-right: 0.75rem;
}

.acct-sub-card__apps {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f0f2f5;
}

.acct-sub-card__apps-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.acct-sub-card__app-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.acct-sub-card__app-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #111827;
}

.acct-app-check {
    color: #16a34a;
    font-size: 0.8rem;
}

.acct-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent, #0078d4);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 120ms ease;
}

.acct-app-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.acct-app-link__icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.acct-log-app {
    white-space: nowrap;
}

.acct-log-muted {
    color: #9ca3af;
}

/* â”€â”€ Tab bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e9f0;
}

.acct-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: color 120ms ease, border-color 120ms ease;
    white-space: nowrap;
}
.acct-tab:hover { color: #111827; }
.acct-tab--active {
    color: #0078d4;
    border-bottom-color: #0078d4;
    font-weight: 600;
}

/* â”€â”€ Tab panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-panel {
    min-height: 180px;
}

/* â”€â”€ Log table (Logins + Activity tabs) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.acct-log-table thead tr {
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
}

.acct-log-table th {
    padding: 0.45rem 0.85rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.acct-log-table tbody tr {
    border-bottom: 1px solid #f0f2f5;
}
.acct-log-table tbody tr:last-child { border-bottom: none; }
.acct-log-table tbody tr:hover { background: #f8fafc; }
.acct-log-table td { padding: 0.45rem 0.85rem; color: #111827; }

.acct-log-date {
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    color: #374151;
    white-space: nowrap;
}

.acct-log-ip {
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    color: #6b7280;
}

.acct-log-event {
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.acct-log-event--10001 { color: #065f46; } /* Login  â€“ green  */
.acct-log-event--10002 { color: #92400e; } /* Logout â€“ amber  */
.acct-log-event--10003 { color: #1e3a8a; } /* Timeout â€“ blue */

/* â”€â”€ Workgroups list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-wg-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.acct-wg-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #111827;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 6px;
    overflow: hidden;
}

.acct-wg-item--expanded {
    border-color: #d8b4fe;
}

.acct-wg-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.7rem;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.acct-wg-btn:hover {
    background: #f3e8ff;
}

.acct-wg-chevron {
    color: #7e22ce;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.acct-wg-icon {
    color: #7e22ce;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.acct-wg-members {
    padding: 0.3rem 0.7rem 0.6rem 2.15rem;
    border-top: 1px solid #e9d5ff;
}

.acct-wg-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.acct-wg-member-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #374151;
}

.acct-wg-member-icon {
    color: #9333ea;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.acct-pager__info {
    font-size: 0.78rem;
    color: #9ca3af;
}

.acct-pager__btns {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.acct-pager-btn {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 100ms ease, border-color 100ms ease;
}

.acct-pager-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.acct-pager-btn--active {
    background: #0078d4;
    border-color: #0078d4;
    color: #fff;
    font-weight: 700;
}

.acct-pager-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* â”€â”€ Session table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-session-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.acct-session-table th,
.acct-session-table td {
    padding: 0.45rem 0.75rem;
    border-bottom: 1px solid #e5e9f0;
    text-align: left;
    vertical-align: top;
}

.acct-session-table th {
    width: 160px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.acct-session-table td {
    color: #111827;
    word-break: break-all;
}

.acct-session-table tr:last-child th,
.acct-session-table tr:last-child td {
    border-bottom: none;
}

/* â”€â”€ CRM form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.acct-crm-error {
    margin: 0 0 1rem;
    padding: .65rem .9rem;
    border-radius: 8px;
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .25);
    color: #b91c1c;
    font-size: .9rem;
}

.acct-crm-success {
    margin: 0 0 1rem;
    padding: .65rem .9rem;
    border-radius: 8px;
    background: rgba(16, 185, 129, .08);
    border: 1px solid rgba(16, 185, 129, .25);
    color: #047857;
    font-size: .9rem;
}

.acct-crm-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.acct-crm-row {
    display: flex;
    gap: 1rem;
}

.acct-crm-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.acct-crm-field label {
    font-size: .85rem;
    font-weight: 600;
    color: #444;
}

.acct-crm-field input[type="text"],
.acct-crm-field select {
    padding: .55rem .7rem;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: .95rem;
}

.acct-crm-field input[type="text"]:focus,
.acct-crm-field select:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, .15);
}

.acct-crm-tel-code {
    max-width: 160px;
}

.acct-crm-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.acct-crm-check {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    color: #333;
    cursor: pointer;
}

.acct-crm-actions {
    display: flex;
    justify-content: flex-end;
}

.acct-crm-btn {
    padding: .6rem 1.4rem;
    border: none;
    border-radius: 8px;
    background: #0078d4;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
}

.acct-crm-btn:disabled {
    opacity: .6;
    cursor: default;
}

/* ---------  ACCOUNT END  --------- */
/* ---------               --------- */

/* ---------  HOME PAGE  --------- */
/* ---------             --------- */

.wb-review-shell {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-height: 0;
        padding: 2rem 1rem;
        box-sizing: border-box;
        background-image: url('/images/consumers2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }

    .wb-review-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.55);
    }

    .wb-review-card {
        width: 100%;
        max-width: 560px;
        background: rgba(248, 247, 243, 0.8);
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0,0,0,.10);
        padding: 2rem 2.25rem;
        position: relative;
        z-index: 1;
    }

    .wb-loading-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .85rem;
        max-width: 360px;
        text-align: center;
    }

    .wb-loading-spinner {
        width: 2rem;
        height: 2rem;
        border: 3px solid rgba(168, 0, 78, .18);
        border-top-color: #a8004e;
        border-radius: 50%;
        animation: wb-spin .8s linear infinite;
    }

    @keyframes wb-spin {
        to { transform: rotate(360deg); }
    }

    .wb-review-title {
        margin: 0 0 .35rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: #333;
    }

    .wb-review-subtitle {
        margin: 0 0 1.5rem;
        color: #666;
        font-size: .95rem;
    }

    .wb-review-error {
        margin: 0 0 1rem;
        padding: .65rem .9rem;
        border-radius: 8px;
        background: rgba(220, 38, 38, .08);
        border: 1px solid rgba(220, 38, 38, .25);
        color: #b91c1c;
        font-size: .9rem;
    }

    .wb-review-row {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .wb-review-field {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: .35rem;
    }

    .wb-review-field label {
        font-size: .85rem;
        font-weight: 600;
        color: #444;
    }

    .wb-review-field input[type="text"] {
        padding: .55rem .7rem;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        font-size: .95rem;
    }

    .wb-review-field select {
        padding: .55rem 2rem .55rem .7rem;
        border: 1px solid #d8d8d8;
        border-radius: 8px;
        font-size: .95rem;
        color: #333;
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23666" d="M5.5 7.5l4.5 5 4.5-5z"/></svg>') no-repeat right .6rem center;
        background-size: 1.1rem;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        max-width: 100%;
    }

    .wb-review-field select:focus {
        outline: none;
        border-color: #ff3d9a;
        box-shadow: 0 0 0 3px rgba(255, 61, 154, .15);
    }

    .wb-review-field input[type="text"]:focus {
        outline: none;
        border-color: #ff3d9a;
        box-shadow: 0 0 0 3px rgba(255, 61, 154, .15);
    }

    .wb-review-tel-code {
        max-width: 160px;
    }

    .wb-review-checks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
        margin: 1.25rem 0 1.5rem;
    }

    .wb-review-check {
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: .9rem;
        color: #444;
    }

    .wb-review-actions {
        display: flex;
        gap: .75rem;
        justify-content: flex-end;
    }

    .wb-review-btn {
        background: linear-gradient(135deg, #a8004e 0%, #ff3d9a 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: .65rem 1.6rem;
        font-size: .95rem;
        font-weight: 600;
        cursor: pointer;
    }

    .wb-review-btn:disabled {
        opacity: .6;
        cursor: default;
    }

    /* â”€â”€ Stage â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-stage {
        position: relative;
        min-height: calc(100vh - 3rem - 2.5rem - 14rem);
        width: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(135deg,
            #ff3d9a  0%,
            #ff6eb4 22%,
            #ffa0d4 48%,
            #ffcce8 72%,
            #fff0f8 100%);
        background-size: 300% 300%;
        animation: wb-bg 9s ease-in-out infinite alternate;
    }

    .wb-stage.wb-stage--video {
        isolation: isolate;
        background: #0e0e10;
        animation: none;
        justify-content: flex-start;
    }

    .wb-stage--video::after {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 33.333%;
        z-index: 1;
        background: rgba(248, 247, 243, 0.9);
        backdrop-filter: blur(8px);
        pointer-events: none;
    }

    .wb-stage--video .wb-scene {
        z-index: 2;
        align-items: flex-start;
        text-align: left;
        box-sizing: border-box;
        width: 33.333%;
        max-width: none;
        padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
    }

    .wb-stage--video .home-video {
        object-position: 65% center;
    }

    .wb-identity {
        display: contents;
    }

    .wb-stage--video .wb-identity {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
    }

    .wb-stage--video .wb-company-logo {
        width: 100%;
        max-width: 100%;
        max-height: 180px;
        object-fit: contain;
        object-position: left center;
        opacity: 1;
        animation: none;
        margin-bottom: 1.25rem;
    }

    .wb-stage--video .wb-message {
        color: #292622;
        margin-bottom: 0;
        opacity: 1;
        animation: none;
    }

    .wb-stage--video .wb-intro-actions {
        justify-content: flex-start;
    }

    .wb-stage--video .wb-intro-link {
        opacity: 1;
        animation: none;
        color: #f5f3ef;
        background: rgba(14, 14, 16, 0.45);
        border-color: rgba(255, 255, 255, 0.55);
    }

    .wb-stage--video .wb-intro-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    @media (max-width: 1024px) {
        .wb-stage--video::after,
        .wb-stage--video .wb-scene {
            width: 45%;
        }
    }

    @media (max-width: 700px) {
        .wb-stage--video::after,
        .wb-stage--video .wb-scene {
            width: 100%;
        }

        .wb-stage--video .wb-scene {
            padding: 2rem 1.25rem;
        }

        .wb-stage--video::after {
            backdrop-filter: blur(6px);
        }
    }

    .wb-recommendations {
        padding: 2rem 1.25rem 2.5rem;
        background: #fff;
        text-align: center;
    }

    .wb-recommendations-title {
        margin: 0 0 1.25rem;
        color: #a8004e;
        font-size: 1.25rem;
    }

    .wb-recommendation-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
        gap: 1.25rem;
        margin: 0 auto;
    }

    .wb-recommendation-navigation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .wb-recommendation-navigation button {
        width: 2.25rem;
        height: 2.25rem;
        border: 1px solid #e7b6cd;
        border-radius: 50%;
        background: #fff;
        color: #a8004e;
        cursor: pointer;
    }

    .wb-recommendation-navigation button:hover:not(:disabled) {
        background: #fff0f8;
    }

    .wb-recommendation-navigation button:disabled {
        color: #d8c3cd;
        cursor: default;
    }

    .wb-recommendation-page {
        min-width: 5rem;
        color: #888;
        font-size: .8rem;
    }

    .wb-recommendation-card {
        display: block;
        overflow: hidden;
        border: 1px solid #f0d9e6;
        border-radius: 12px;
        background: #fff;
        color: inherit;
        box-shadow: 0 5px 18px rgba(168, 0, 78, .08);
        text-align: left;
        text-decoration: none;
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .wb-recommendation-card:hover {
        color: inherit;
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(168, 0, 78, .14);
    }

    .wb-recommendation-image,
    .wb-recommendation-placeholder {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        background: #fff0f8;
    }

    .wb-recommendation-placeholder {
        display: grid;
        place-items: center;
        color: #d18aae;
        font-size: 2rem;
    }

    .wb-recommendation-details {
        padding: .85rem 1rem 1rem;
    }

    .wb-recommendation-type {
        margin: 0 0 .25rem;
        color: #a8004e;
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .wb-recommendation-name {
        margin: 0;
        color: #333;
        font-size: 1rem;
    }

    .wb-recommendation-match {
        margin: .35rem 0 0;
        color: #888;
        font-size: .8rem;
    }

    .wb-company-logo {
        width: min(260px, 56vw);
        max-height: 120px;
        object-fit: contain;
        margin: 0 0 0.75rem;
        opacity: 0;
        animation: wb-fade-rise .85s ease-out 1.55s forwards;
    }

    .wb-intro-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .75rem;
    }

    .wb-intro-link {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        margin-top: .5rem;
        padding: .55rem 1.25rem;
        border: 1px solid rgba(168, 0, 78, .35);
        border-radius: 999px;
        background: rgba(255, 255, 255, .55);
        color: #a8004e;
        font-size: .9rem;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        opacity: 0;
        animation: wb-fade-rise .85s ease-out 1.8s forwards;
        transition: background .2s ease, box-shadow .2s ease;
    }

    .wb-intro-link:hover {
        background: rgba(255, 255, 255, .85);
        box-shadow: 0 6px 18px rgba(168, 0, 78, .15);
        text-decoration: none;
    }

    .wb-intro-link i {
        font-size: 1.1rem;
    }

    .wb-video-modal-backdrop {
        position: fixed;
        inset: 0;
        z-index: 2000;
        background: rgba(0, 0, 0, .7);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .wb-video-modal {
        position: relative;
        width: 100%;
        max-width: 900px;
        background: #000;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 24px 64px rgba(0,0,0,.4);
    }

    .wb-video-modal-player {
        width: 100%;
        max-height: 80vh;
        display: block;
    }

    .wb-video-modal-close {
        position: absolute;
        top: .6rem;
        right: .6rem;
        z-index: 1;
        width: 2.25rem;
        height: 2.25rem;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, .55);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        transition: background .2s ease;
    }

    .wb-video-modal-close:hover {
        background: rgba(0, 0, 0, .8);
    }

    /* Remove the gap before the My Apps footer line on this page */
    .wpibg_content {
        min-height: 0;
    }

    .wpibg_footer {
        margin-top: 0;
    }
    @keyframes wb-bg {
        0%   { background-position:   0%   0%; }
        100% { background-position: 100% 100%; }
    }

    /* â”€â”€ Particles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
    .wb-p {
        position: absolute;
        border-radius: 50%;
        animation: wb-float 7s ease-in-out infinite;
    }
    @keyframes wb-float {
        0%,100% { transform: translateY(0)    scale(1);    opacity: .35; }
        50%     { transform: translateY(-60px) scale(1.15); opacity: .80; }
    }
    .wb-p:nth-child(1) { width:14px; height:14px; background:rgba(255,255,255,.70); top:10%; left: 7%; animation-delay:0.0s; animation-duration: 6s; }
    .wb-p:nth-child(2) { width:22px; height:22px; background:rgba(255,100,175,.30); top:65%; left:13%; animation-delay:1.1s; animation-duration: 9s; }
    .wb-p:nth-child(3) { width:10px; height:10px; background:rgba(255,255,255,.60); top:22%; left:80%; animation-delay:2.3s; animation-duration: 7s; }
    .wb-p:nth-child(4) { width:18px; height:18px; background:rgba(255,150,200,.40); top:77%; left:70%; animation-delay:0.6s; animation-duration: 8s; }
    .wb-p:nth-child(5) { width: 8px; height: 8px; background:rgba(255,255,255,.75); top:48%; left:47%; animation-delay:1.8s; animation-duration: 5s; }
    .wb-p:nth-child(6) { width:26px; height:26px; background:rgba(255, 60,155,.18); top:17%; left:56%; animation-delay:3.0s; animation-duration:10s; }
    .wb-p:nth-child(7) { width:12px; height:12px; background:rgba(255,255,255,.55); top:55%; left:89%; animation-delay:0.9s; animation-duration: 7s; }
    .wb-p:nth-child(8) { width:20px; height:20px; background:rgba(255,100,175,.28); top:33%; left:21%; animation-delay:2.4s; animation-duration: 9s; }
    .wb-p:nth-child(9) { width:16px; height:16px; background:rgba(255,255,255,.48); top:84%; left:38%; animation-delay:1.3s; animation-duration: 8s; }

    /* â”€â”€ Scene â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-scene {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.4rem 2rem 1.6rem;
        max-width: 700px;
        width: 100%;
    }

    /* â”€â”€ Step 1 â€“ "WELCOME" label  (delay 0.2 s) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-label {
        margin: 0 0 0.35rem;
        font-size: clamp(.85rem, 2.5vw, 1.15rem);
        font-weight: 400;
        letter-spacing: .45em;
        text-transform: uppercase;
        color: rgba(140, 18, 72, .78);
        opacity: 0;
        animation: wb-fly-up .75s cubic-bezier(.22,1,.36,1) .2s forwards;
    }
    @keyframes wb-fly-up {
        from { opacity: 0; transform: translateY(22px); }
        to   { opacity: 1; transform: translateY(0);    }
    }

    /* â”€â”€ Step 2 â€“ Company name  (delay 1.0 s) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-company {
        margin: 0 0 .6rem;
        font-size: clamp(2.4rem, 9vw, 5.2rem);
        font-weight: 900;
        line-height: 1.45;
        padding-bottom: .06em;
        background: linear-gradient(135deg, #a8004e 0%, #ff3d9a 50%, #ff88c2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0;
        animation: wb-emerge 1s cubic-bezier(.22,1,.36,1) 1.0s forwards;
    }
    @keyframes wb-emerge {
        from { opacity: 0; filter: blur(10px); transform: scale(.88) translateY(18px); }
        to   { opacity: 1; filter: blur(0);    transform: scale(1)   translateY(0);   }
    }

    /* â”€â”€ Step 3 â€“ Message  (delay 2.1 s) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-message {
        margin: 0 0 1.1rem;
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        font-weight: 300;
        color: rgba(118, 14, 62, .82);
        max-width: 460px;
        line-height: 1.55;
        opacity: 0;
        animation: wb-fade-rise .85s ease-out 2.1s forwards;
    }
    @keyframes wb-fade-rise {
        from { opacity: 0; transform: translateY(14px); }
        to   { opacity: 1; transform: translateY(0);    }
    }

    /* â”€â”€ Step 4 â€“ Divider  (delay 2.9 s) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-divider {
        height: 3px;
        width: 0;
        border-radius: 2px;
        background: linear-gradient(90deg, #ff3d9a, #ffb8e3);
        margin-bottom: 1.1rem;
        animation: wb-grow .6s cubic-bezier(.22,1,.36,1) 2.9s forwards;
    }
    @keyframes wb-grow {
        from { width:  0; }
        to   { width: 64px; }
    }

    /* â”€â”€ Step 5 â€“ Product image  (delay 3.3 s) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .wb-product {
        width: min(220px, 54vw);
        border-radius: 18px;
        box-shadow:
            0 24px 64px rgba(200,0,94,.22),
            0  4px 18px rgba(0,0,0,.08);
        opacity: 0;
        animation: wb-drop-in .9s cubic-bezier(.34,1.56,.64,1) 3.3s forwards;
    }
    @keyframes wb-drop-in {
        from { opacity: 0; transform: translateY(-30px) scale(.90); }
        to   { opacity: 1; transform: translateY(0)     scale(1);   }
    }

    /* â”€â”€ Reduced motion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    @media (prefers-reduced-motion: reduce) {
        .wb-stage                          { animation: none; }
        .wb-p                              { animation: none; opacity: .4; }
        .wb-label, .wb-company, .wb-message,
        .wb-product                        { animation: none; opacity: 1; filter: none; transform: none; }
        .wb-divider                        { animation: none; width: 64px; }
    }

 .wpibg_content {
        min-height: 0;
    }

    .wpibg_footer {
        margin-top: 0;
    }

    .home-stage { isolation: isolate;
        position: relative;
        flex: 1;
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        min-height: calc(100vh - 3rem);
        overflow: hidden;
        background: #0e0e10;
    }

    .home-video { z-index: 0; display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 300ms ease;
    }

    .home-video--ready {
        opacity: 1;
    }

    @media (prefers-reduced-motion: reduce) {
        .home-video {
            transition: none;
        }
    }

    .home-overlay { z-index: 1; pointer-events: none;
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(14,14,16,0.88) 0%, rgba(14,14,16,0.72) 38%, rgba(14,14,16,0.35) 68%, rgba(14,14,16,0.22) 100%),
            linear-gradient(180deg, rgba(14,14,16,0.18) 0%, rgba(14,14,16,0.3) 100%);
    }

    .home-scene {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        padding: clamp(2rem, 6vw, 4.5rem);
        max-width: 760px;
        width: 100%;
        color: #f5f5f4;
    }

    .home-label {
        margin: 0 0 1.2rem;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.38em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.82);
    }

    .home-title {
        margin: 0;
        font-family: "Georgia", "Times New Roman", serif;
        font-size: clamp(2.2rem, 7.2vw, 5.8rem);
        font-weight: 500;
        line-height: 0.98;
        letter-spacing: -0.02em;
        color: #ffffff;
        max-width: 620px;
    }

    .home-title span {
        display: inline-block;
        color: #d7c4a3;
        font-style: italic;
        font-weight: 400;
    }

    .home-message {
        margin: 1.7rem 0 0;
        max-width: 540px;
        color: rgba(247, 247, 246, 0.86);
        font-size: clamp(1rem, 1.4vw, 1.15rem);
        line-height: 1.65;
    }

    .home-message :is(h1, h2, h3, h4, h5, h6) {
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        color: inherit;
    }

    .home-message :is(p, ul, ol) {
        margin: 0;
    }

    .home-message :is(p, ul, ol) + :is(p, ul, ol) {
        margin-top: 0.7rem;
    }

    .home-actions {
        margin-top: 2rem;
        display: flex;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .home-cta,
    .home-signin {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        padding: 0.85rem 1.45rem;
        min-height: 46px;
        border: 1px solid transparent;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.93rem;
        transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
    }

    .home-cta {
        background: #f6f4f0;
        color: #131313;
        border-color: #f6f4f0;
    }

    .home-cta:hover {
        background: #ffffff;
        color: #101010;
    }

    .home-signin {
        color: #f3f3f2;
        border-color: rgba(255, 255, 255, 0.55);
        background: rgba(14, 14, 16, 0.42);
    }

    .home-signin:hover {
        border-color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    @media (max-width: 900px) {
        .home-stage { isolation: isolate;
            min-height: calc(100vh - 3rem);
        }

        .home-overlay { z-index: 1; pointer-events: none;
            background:
                linear-gradient(180deg, rgba(14,14,16,0.66) 0%, rgba(14,14,16,0.72) 44%, rgba(14,14,16,0.82) 100%);
        }

        .home-scene {
            max-width: 100%;
            align-items: center;
            text-align: center;
            margin: auto;
        }

        .home-title {
            line-height: 1.05;
        }

        .home-actions {
            justify-content: center;
        }
    }

/* ---------  HOME END  --------- */
/* ---------            --------- */

/* ---------  LOGIN PAGE  --------- */
/* ---------              --------- */

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 2rem 1rem;
    background-image: url('/images/consumers2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.login-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 380px;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,250,255,0.95));
    border: 1px solid rgba(16,24,40,0.07);
    box-shadow: 0 12px 40px rgba(16,24,40,0.1);
    position: relative;
    z-index: 1;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #0b1220;
}

.login-brand__icon {
    font-size: 2.8rem;
}

.login-brand__label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #374151;
}

.login-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b1220;
    text-align: center;
}

.login-consent {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.login-consent__item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #374151;
    font-size: 0.86rem;
    line-height: 1.35;
}

.login-consent__checkbox {
    margin-top: 0.15rem;
}

.login-consent__item a {
    color: #0b63b6;
    text-decoration: underline;
}

.login-consent__item a:hover {
    color: #084f91;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 150ms ease, box-shadow 150ms ease, transform 100ms ease;
    cursor: pointer;
}

.login-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-btn--microsoft {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #d0d5dd;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.login-btn--microsoft:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.login-btn__ms-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* â”€â”€ Dev-only bypass section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.login-dev-bypass {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px dashed #f59e0b;
}

.login-dev-bypass__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #b45309;
    background: #fef3c7;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.login-btn--bypass {
    background: #fffbeb;
    color: #92400e;
    border: 1px dashed #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-btn--bypass:hover {
    background: #fef3c7;
    transform: translateY(-1px);
}

/* ---------  LOGIN END  --------- */
/* ---------             --------- */

/* ---------  MYAPPS PAGE  --------- */
/* ---------               --------- */

.my-apps-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex: 1;
    padding: 1rem 1rem 2rem;
}

.my-apps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2.8rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    max-width: calc(5 * 220px + 4 * 1.15rem);
}

@media (max-width: 700px) {
    .my-apps-list {
        grid-template-columns: repeat(3, 1fr);
        max-width: calc(3 * 220px + 2 * 1.15rem);
    }
}

@media (max-width: 420px) {
    .my-apps-list {
        grid-template-columns: repeat(2, 1fr);
        max-width: calc(2 * 220px + 1.15rem);
    }
}

h2 {
    margin: 1rem 0 0.35rem;
    font-size: 1rem;
}

.my-apps-empty {
    color: #6b7280;
    font-size: 0.95rem;
    padding: 1.5rem 0;
}

/* ---------  MYAPPS END  --------- */
/* ---------              --------- */

/* ---------  NOTIFICATIONS PAGE  --------- */
/* ---------                      --------- */

.notif-shell {
    max-width: 760px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notif-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.notif-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.78rem;
    font-weight: 700;
}

.notif-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.notif-btn:hover {
    background: #f3f4f6;
}

.notif-btn--danger {
    color: #b91c1c;
    border-color: #fecaca;
}

.notif-btn--danger:hover {
    background: #fef2f2;
    border-color: #f87171;
}

.notif-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.notif-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #9ca3af;
    padding: 3rem 0;
    text-align: center;
}

.notif-placeholder .bi {
    font-size: 2.25rem;
    color: #d1d5db;
}

.notif-placeholder p {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
}

.notif-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.notif-item:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

.notif-item--new {
    background: #f5f7ff;
    border-color: #c7d2fe;
}

.notif-item--new .notif-item__icon {
    background: #4338ca;
    color: #fff;
}

.notif-item__new-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #4338ca;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.notif-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #eef2ff;
    color: #4338ca;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.notif-item__body {
    flex: 1;
    min-width: 0;
}

.notif-item__header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.notif-item__event {
    color: #111827;
    font-size: 0.98rem;
}

.notif-item__date {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.78rem;
    white-space: nowrap;
}

.notif-item__description {
    margin-top: 0.4rem;
    white-space: pre-wrap;
    color: #6b7280;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.4;
}

.notif-item__text {
    margin-top: 0.5rem;
    white-space: pre-wrap;
    color: #1f2937;
    font-size: 0.9rem;
    line-height: 1.45;
}

.notif-item__footer {
    margin-top: 0.6rem;
}

.notif-item__from {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #6b7280;
    font-size: 0.78rem;
}

.notif-item__delete {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 0.1rem;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.notif-item__delete:hover {
    color: #b91c1c;
    background: #fef2f2;
}

@media (max-width: 560px) {
    .notif-shell {
        margin: 0.75rem;
        padding: 1.1rem;
    }

    .notif-item__date {
        margin-left: 0;
    }
}

/* ---------  NOTIFICATIONS END  --------- */
/* ---------                     --------- */

/* ---------  UNAUTHORIZED PAGE  --------- */
/* ---------                     --------- */

.unauth-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 50vh;
    text-align: center;
    padding: 2rem;
}

.unauth-icon {
    font-size: 3.5rem;
    color: #dc2626;
    opacity: 0.7;
}

.unauth-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.unauth-msg {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    max-width: 420px;
}

.unauth-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.unauth-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.25rem;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: #0078d4;
    color: #fff;
    border: 1px solid transparent;
    transition: background 150ms ease;
}

.unauth-btn:hover {
    background: #005fa3;
}

.unauth-btn--secondary {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.unauth-btn--secondary:hover {
    background: #f3f4f6;
}

/* ---------  UNAUTHORIZED END  --------- */
/* ---------                    --------- */

/* ---------  WELCOME PAGE  --------- */
/* ---------                --------- */

.wlc-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem 4rem;
}

.wlc-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wlc-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b1220;
    margin: 0;
}

.wlc-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.wlc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.wlc-skip {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.wlc-skip a {
    color: #0078d4;
    text-decoration: none;
}

.wlc-skip a:hover { text-decoration: underline; }

.wlc-loading {
    color: #9ca3af;
    font-size: 0.95rem;
    padding: 3rem;
    text-align: center;
}

/* ---------  WELCOME END  --------- */
/* ---------               --------- */

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 100ms ease, box-shadow 100ms ease, transform 100ms ease;
    white-space: nowrap;
    background: var(--primary);;
    color: white;
}