



















/* =========================================================
   MAYOBA LEARNER DASHBOARD — NOTIFICATIONS
   STANDALONE PAGE

   Scoped exclusively to:
   .dashboard-learner-notifications

   No sidebar
   No header / topbar
   No footer
   No unrelated dashboard styles
   ========================================================= */

.dashboard-learner-notifications {
    --navy: #0c2a7a;
    --navy2: #071c5e;
    --blue: #1e63ef;
    --ink: #12205c;
    --muted: #5f6f9a;
    --bg: #f3f7ff;
    --line: #dbe5f6;
    --white: #fff;
    --green: #10a56f;
    --purple: #7042eb;
    --orange: #ff7a24;
    --red: #e93e66;
    --shadow: 0 10px 28px rgba(13, 41, 113, .08);
    --radius: 15px;

    margin: 0;
    padding: 0;
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--ink);
    background: linear-gradient(
        180deg,
        #f7faff 0,
        #edf4ff 100%
    );

    font-size: 14px;
}

.dashboard-learner-notifications *,
.dashboard-learner-notifications *::before,
.dashboard-learner-notifications *::after {
    box-sizing: border-box;
}

.dashboard-learner-notifications a {
    color: inherit;
    text-decoration: none;
}

.dashboard-learner-notifications button,
.dashboard-learner-notifications input,
.dashboard-learner-notifications select,
.dashboard-learner-notifications textarea {
    font: inherit;
}

.dashboard-learner-notifications button {
    cursor: pointer;
}

.dashboard-learner-notifications .icon {
    width: 22px;
    height: 22px;
    display: block;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.dashboard-learner-notifications .main {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.dashboard-learner-notifications .content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 18px 32px;
}


/* =========================================================
   HERO
   ========================================================= */

.dashboard-learner-notifications .page-hero {
    min-height: 132px;
    height: auto;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 18px 34px;
    margin: 0 0 16px;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            100deg,
            #09266f,
            #10339a 60%,
            #1a49c6
        );

    box-shadow: var(--shadow);
}

.dashboard-learner-notifications .page-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 94, .12),
            rgba(7, 28, 94, 0)
        );

    pointer-events: none;
}

.dashboard-learner-notifications .page-hero.mountain {
    background-image:
        linear-gradient(
            90deg,
            #08236d 0%,
            #0e3194 55%,
            rgba(14, 49, 148, .35) 100%
        ),
        url("/assets/dashboard-assets/banner-mountain.png");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.dashboard-learner-notifications .page-hero .hero-copy {
    position: relative;
    z-index: 2;

    max-width: 64%;
    padding: 3px 0;
}

.dashboard-learner-notifications .page-hero h1 {
    margin: 0 0 8px;

    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -.025em;

    color: #fff;
}

.dashboard-learner-notifications .page-hero p {
    margin: 0;

    color: rgba(255, 255, 255, .9);

    font-size: 18px;
    line-height: 1.35;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.dashboard-learner-notifications .toolbar {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 8px 0 14px;
}

.dashboard-learner-notifications .tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-learner-notifications .tab {
    height: 42px;

    padding: 0 22px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: #fff;
    color: #23336d;

    font-weight: 700;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.dashboard-learner-notifications .tab:hover {
    background: #f5f8ff;
    border-color: #cbd9f1;
}

.dashboard-learner-notifications .tab.active {
    background: #0a2477;
    color: #fff;
    border-color: #0a2477;

    box-shadow: 0 5px 14px rgba(10, 36, 119, .12);
}

.dashboard-learner-notifications .mark-all-button {
    margin-left: auto;
}


/* =========================================================
   CARDS
   ========================================================= */

.dashboard-learner-notifications .card {
    background: #fff;

    border: 1px solid #e0e8f6;
    border-radius: 14px;

    box-shadow:
        0 7px 20px rgba(14, 41, 114, .045);
}

.dashboard-learner-notifications .panel {
    padding: 16px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.dashboard-learner-notifications .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 10px;
}

.dashboard-learner-notifications .section-title .left {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.dashboard-learner-notifications .section-title h2 {
    margin: 0;

    color: #112668;

    font-size: 21px;
    line-height: 1.2;
}

.dashboard-learner-notifications .section-title p {
    margin: 3px 0 0;

    color: #6879a0;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   ICON TILES
   ========================================================= */

.dashboard-learner-notifications .tile-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;
}

.dashboard-learner-notifications .blue {
    background: #e9f1ff;
    color: #1f65ef;
}

.dashboard-learner-notifications .green {
    background: #e4f8ef;
    color: #0b9d6b;
}

.dashboard-learner-notifications .purple {
    background: #efe8ff;
    color: #6f3eeb;
}

.dashboard-learner-notifications .orange {
    background: #fff0e3;
    color: #f27418;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.dashboard-learner-notifications .btn {
    min-height: 42px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 1px solid #1d5df0;
    border-radius: 9px;

    background: #fff;
    color: #0e4bdc;

    font-weight: 750;

    white-space: nowrap;

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.dashboard-learner-notifications .btn:hover {
    box-shadow:
        0 5px 14px rgba(30, 93, 240, .10);
}

.dashboard-learner-notifications .btn:active {
    transform: translateY(1px);
}

.dashboard-learner-notifications .btn.soft {
    border-color: #d6e1f5;

    background: #eff5ff;
    color: #174fc5;
}

.dashboard-learner-notifications .btn.soft:hover {
    background: #e7f0ff;
    border-color: #c8d8f2;
}


/* =========================================================
   NOTIFICATION LIST
   ========================================================= */

.dashboard-learner-notifications .notification-list {
    display: grid;
    gap: 10px;
}


/* =========================================================
   INDIVIDUAL NOTIFICATION
   ========================================================= */

.dashboard-learner-notifications .notification {
    padding: 14px 16px;

    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;

    align-items: center;

    gap: 12px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.dashboard-learner-notifications .notification:hover {
    border-color: #cddbf2;

    box-shadow:
        0 9px 24px rgba(14, 41, 114, .07);

    transform: translateY(-1px);
}

.dashboard-learner-notifications .notification-content {
    min-width: 0;
}

.dashboard-learner-notifications .notification h3 {
    margin: 0 0 4px;

    color: #122668;

    font-size: 14px;
    line-height: 1.3;
}

.dashboard-learner-notifications .notification p {
    margin: 0;

    color: #67779f;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .dashboard-learner-notifications .content {
        padding: 20px 16px 28px;
    }

    .dashboard-learner-notifications .toolbar {
        flex-wrap: wrap;
    }

    .dashboard-learner-notifications .tabs {
        width: 100%;
    }

    .dashboard-learner-notifications .mark-all-button {
        margin-left: 0;
    }

    .dashboard-learner-notifications .page-hero {
        min-height: 132px;
    }

    .dashboard-learner-notifications .page-hero h1 {
        font-size: 32px;
    }

    .dashboard-learner-notifications .page-hero p {
        font-size: 15px;
    }

    .dashboard-learner-notifications .page-hero .hero-copy {
        max-width: 75%;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .dashboard-learner-notifications .content {
        padding: 12px 12px 24px;
    }

    .dashboard-learner-notifications .page-hero {
        min-height: 120px;
        padding: 20px;
    }

    .dashboard-learner-notifications .page-hero .hero-copy {
        max-width: 100%;
    }

    .dashboard-learner-notifications .page-hero h1 {
        font-size: 30px;
    }

    .dashboard-learner-notifications .page-hero p {
        font-size: 14px;
    }

    .dashboard-learner-notifications .tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;

        width: 100%;

        gap: 8px;
    }

    .dashboard-learner-notifications .tab {
        width: 100%;
        padding: 0 12px;
    }

    .dashboard-learner-notifications .mark-all-button {
        width: 100%;
    }

    .dashboard-learner-notifications .panel {
        padding: 14px;
    }

    .dashboard-learner-notifications .section-title h2 {
        font-size: 19px;
    }

    .dashboard-learner-notifications .notification {
        grid-template-columns: 44px minmax(0, 1fr);

        align-items: start;

        padding: 14px;
    }

    .dashboard-learner-notifications .notification > .btn {
        grid-column: 2;

        width: 100%;
        margin-top: 2px;
    }

    .dashboard-learner-notifications .notification h3 {
        font-size: 14px;
    }

    .dashboard-learner-notifications .notification p {
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .dashboard-learner-notifications .tabs {
        grid-template-columns: 1fr;
    }

    .dashboard-learner-notifications .tab {
        height: 44px;
    }

    .dashboard-learner-notifications .notification {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .dashboard-learner-notifications .notification .tile-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .dashboard-learner-notifications .notification > .btn {
        grid-column: 1 / -1;
    }
}

















/* =========================================================
   NOTIFICATIONS SEARCH + FILTERS
========================================================= */

.notification-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.notification-search {
    flex: 1 1 420px;
    min-width: 0;
}

.notification-search-input,
.notification-status-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.notification-search-input {
    padding: 0 16px;
}

.notification-search-input::placeholder {
    color: #8a96a8;
}

.notification-search-input:hover,
.notification-status-select:hover {
    border-color: #bcc9db;
}

.notification-search-input:focus,
.notification-status-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.notification-filter-actions {
    flex: 0 0 210px;
}

.notification-status-select {
    padding: 0 38px 0 14px;
    cursor: pointer;
}


/* =========================================================
   SCREEN-READER-ONLY LABEL
========================================================= */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   CATEGORY TABS
========================================================= */

.dashboard-learner-notifications .tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-learner-notifications .tab {
    appearance: none;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #526078;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.dashboard-learner-notifications .tab:hover {
    color: #174ea6;
    border-color: #b8cae7;
    background: #f5f8ff;
}

.dashboard-learner-notifications .tab:active {
    transform: translateY(1px);
}

.dashboard-learner-notifications .tab.active,
.dashboard-learner-notifications .tab[aria-selected="true"] {
    color: #ffffff;
    background: #1766d5;
    border-color: #1766d5;
    box-shadow: 0 5px 14px rgba(23, 102, 213, 0.18);
}

.dashboard-learner-notifications .tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}


/* =========================================================
   NOTIFICATION COUNT
========================================================= */

.notification-count {
    flex: 0 0 auto;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   PAGE MESSAGE
========================================================= */

.notification-page-message {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.notification-page-message[data-type="success"] {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.notification-page-message[data-type="error"] {
    color: #b42318;
    background: #fff5f5;
    border-color: #fecaca;
}

.notification-page-message[data-type="info"] {
    color: #174ea6;
    background: #f5f8ff;
    border-color: #cfe0fb;
}


/* =========================================================
   LOADING STATE
========================================================= */

.notification-loading {
    padding: 32px 20px;
    text-align: center;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.notification-loading[hidden] {
    display: none !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.notification-empty {
    padding: 46px 20px;
    text-align: center;
}

.notification-empty[hidden] {
    display: none !important;
}

.notification-empty .tile-icon {
    margin: 0 auto 14px;
}

.notification-empty h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 17px;
}

.notification-empty p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   DYNAMIC NOTIFICATION CARD SUPPORT
========================================================= */

.notification {
    position: relative;
}

.notification.unread {
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(
        90deg,
        rgba(37, 99, 235, 0.045),
        #ffffff 32%
    );
}

.notification.unread::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 3px;
    height: calc(100% - 36px);
    border-radius: 0 4px 4px 0;
    background: #2563eb;
}

.notification-icon {
    flex: 0 0 auto;
}

.notification-meta {
    margin-top: 7px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.notification-unread-indicator {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1766d5;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.notification-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.notification-read-button {
    white-space: nowrap;
}


/* =========================================================
   PAGINATION
========================================================= */

.notification-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-top: 22px;
    padding-top: 20px;

    border-top: 1px solid #edf1f6;
}

.notification-pagination[hidden] {
    display: none !important;
}

.notification-pagination .btn {
    min-width: 104px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.notification-pagination .btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.notification-pagination .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.notification-pagination-info {
    min-width: 110px;
    padding: 9px 14px;

    border: 1px solid #e1e7f0;
    border-radius: 10px;

    background: #f8fafc;
    color: #526078;

    text-align: center;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   MARK ALL BUTTON
========================================================= */

.mark-all-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 760px) {

    .notification-filter-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .notification-search {
        flex: 1 1 auto;
        width: 100%;
    }

    .notification-filter-actions {
        flex: 1 1 auto;
        width: 100%;
    }

    .notification-search-input,
    .notification-status-select {
        min-height: 44px;
    }

    .notification-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .notification-pagination {
        justify-content: space-between;
        gap: 8px;
    }

    .notification-pagination .btn {
        min-width: 90px;
    }

    .notification-pagination-info {
        min-width: 0;
        flex: 1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .dashboard-learner-notifications .tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .dashboard-learner-notifications .tab {
        width: 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }

    .notification-count {
        white-space: normal;
    }

    .notification-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .notification-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .notification-pagination {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .notification-pagination-info {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .notification-pagination .btn {
        width: 100%;
        min-width: 0;
    }
}