
.notifications-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(255, 201, 40, .19),
            transparent 390px
        ),
        radial-gradient(
            circle at 96% 14%,
            rgba(255, 235, 152, .28),
            transparent 390px
        ),
        var(--nyam-cream);
}

.notifications-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 30px auto 96px;
}

.notifications-hero {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 34px 230px 34px 36px;
    border: 1px solid rgba(245,185,0,.22);
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            #FFF0A2 0%,
            #FFF8DA 55%,
            #FFFFFF 100%
        );
    box-shadow:
        0 18px 55px rgba(58,48,10,.08);
}

.notifications-hero-art {
    position: absolute;
    right: 35px;
    top: 50%;
    width: 165px;
    transform: translateY(-50%) rotate(3deg);
}

.notifications-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: #725C0D;
    font-size: 11px;
    font-weight: 950;
}

.notifications-hero h1 {
    margin: 16px 0 8px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.notifications-hero p {
    margin: 0;
    color: #685F49;
    font-size: 13px;
    line-height: 1.75;
}

.hero-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.hero-count {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    color: #615831;
    font-size: 10px;
    font-weight: 900;
}

.hero-count.unread {
    background: var(--nyam-ink);
    color: #fff;
}

.notification-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        310px;
    gap: 18px;
    align-items: start;
}

.notification-panel {
    border: 1px solid var(--nyam-line);
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 8px 30px rgba(25,26,29,.045);
    overflow: hidden;
}

.inbox-toolbar {
    min-height: 76px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #F0EEE8;
}

.inbox-toolbar-title h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.8px;
}

.inbox-toolbar-title p {
    margin: 4px 0 0;
    color: #8B8F96;
    font-size: 10px;
}

.read-all-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #E8E5DB;
    border-radius: 12px;
    background: #fff;
    color: #5D626A;
    font-size: 10px;
    font-weight: 900;
}

.read-all-btn:hover {
    border-color: #DDC765;
    background: #FFF8DA;
}

.read-all-btn:disabled {
    opacity: .45;
    cursor: default;
}

.notification-filters {
    padding: 12px 18px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    border-bottom: 1px solid #F1EFE9;
    background: #FFFEFB;
    scrollbar-width: none;
}

.notification-filters::-webkit-scrollbar {
    display: none;
}

.notification-filter {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #E5E6E8;
    border-radius: 999px;
    background: #fff;
    color: #61666E;
    font-size: 10px;
    font-weight: 900;
}

.notification-filter.active {
    border-color: var(--nyam-yellow-deep);
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
}

.notification-list {
    padding: 11px;
    background: #FAFAF8;
}

.notification-group + .notification-group {
    margin-top: 18px;
}

.notification-group-title {
    padding: 2px 6px 8px;
    color: #8D9198;
    font-size: 10px;
    font-weight: 900;
}

.notification-card {
    position: relative;
    display: grid;
    grid-template-columns:
        52px
        minmax(0,1fr)
        24px;
    gap: 12px;
    align-items: start;
    padding: 15px;
    margin-bottom: 8px;
    border: 1px solid #ECEAE4;
    border-radius: 18px;
    background: #fff;
    transition:
        transform .17s ease,
        box-shadow .17s ease,
        border-color .17s ease;
}

.notification-card:hover {
    transform: translateY(-1px);
    border-color: #E4D185;
    box-shadow:
        0 10px 28px rgba(25,26,29,.07);
}

.notification-card.unread {
    border-color: #E5C655;
    background:
        linear-gradient(
            135deg,
            #FFFBE9,
            #FFFFFF 68%
        );
}

.notification-card.unread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--nyam-yellow-deep);
}

.notification-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #FFF1A8;
    font-size: 25px;
    border: 1px solid rgba(245,185,0,.18);
}

.notification-main {
    min-width: 0;
}

.notification-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.notification-title {
    min-width: 0;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-badge {
    flex: 0 0 auto;
    padding: 4px 6px;
    border-radius: 999px;
    background: var(--nyam-red);
    color: #fff;
    font-size: 8px;
    font-weight: 950;
}

.notification-body {
    margin-top: 5px;
    color: #646971;
    font-size: 11px;
    line-height: 1.58;
}

.notification-meta {
    margin-top: 9px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.notification-meta-item {
    padding: 5px 7px;
    border-radius: 999px;
    background: #F2F3F4;
    color: #747981;
    font-size: 8.5px;
    font-weight: 850;
}

.notification-meta-item.distance {
    background: #EEF8F0;
    color: #24823E;
}

.notification-meta-item.truck {
    background: #FFF4BF;
    color: #6F590A;
}

.notification-arrow {
    align-self: center;
    color: #A1A5AB;
    font-size: 20px;
    font-weight: 600;
}

.notification-card[data-clickable="1"] {
    cursor: pointer;
}

.load-more-wrap {
    padding: 7px 11px 15px;
    background: #FAFAF8;
}

.load-more {
    width: 100%;
    min-height: 47px;
    border: 1px solid #E6E3DA;
    border-radius: 14px;
    background: #fff;
    color: #62676F;
    font-size: 10px;
    font-weight: 900;
}

.load-more:hover {
    background: #FFF8D9;
}

.inbox-empty {
    min-height: 390px;
    padding: 44px 20px;
    display: grid;
    place-items: center;
    text-align: center;
}

.inbox-empty img {
    width: 108px;
    margin: 0 auto 12px;
}

.inbox-empty strong {
    display: block;
    font-size: 16px;
    font-weight: 950;
}

.inbox-empty p {
    margin: 8px auto 0;
    max-width: 340px;
    color: var(--nyam-muted);
    font-size: 11px;
    line-height: 1.65;
}

.notification-side {
    display: grid;
    gap: 14px;
}

.side-card {
    padding: 20px;
    border: 1px solid var(--nyam-line);
    border-radius: 23px;
    background: #fff;
    box-shadow:
        0 8px 30px rgba(25,26,29,.04);
}

.side-card-yellow {
    background:
        linear-gradient(
            145deg,
            #FFF2A9,
            #FFF9E0
        );
    border-color: rgba(245,185,0,.25);
}

.side-card h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -.5px;
}

.side-card p {
    margin: 7px 0 0;
    color: #777B82;
    font-size: 10px;
    line-height: 1.65;
}

.side-card-yellow p {
    color: #6B613E;
}

.side-cta {
    min-height: 44px;
    width: 100%;
    margin-top: 14px;
    border: 1px solid var(--nyam-yellow-deep);
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
    font-size: 10px;
    font-weight: 950;
}

.side-list {
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.side-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: start;
}

.side-list-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #FFF5C7;
    font-size: 14px;
}

.side-list strong {
    display: block;
    font-size: 10px;
}

.side-list span {
    display: block;
    margin-top: 2px;
    color: #8A8E95;
    font-size: 9px;
    line-height: 1.45;
}

.notifications-login {
    margin-top: 18px;
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 35px;
    border: 1px solid var(--nyam-line);
    border-radius: 26px;
    background: #fff;
    text-align: center;
}

.notifications-login img {
    width: 110px;
    margin: 0 auto 14px;
}

.notifications-login h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -1px;
}

.notifications-login p {
    margin: 9px 0 18px;
    color: var(--nyam-muted);
    font-size: 11px;
    line-height: 1.65;
}

.notifications-login button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--nyam-yellow-deep);
    border-radius: 14px;
    background: var(--nyam-yellow);
    color: var(--nyam-ink);
    font-size: 11px;
    font-weight: 950;
}

.inbox-loading {
    min-height: 390px;
    padding: 25px;
}

.inbox-skeleton {
    height: 86px;
    margin-bottom: 10px;
    border-radius: 18px;
}

@media (max-width: 900px) {
    .notifications-wrap {
        width: min(100% - 24px, 720px);
        margin-top: 18px;
    }

    .notifications-hero {
        padding: 27px 130px 27px 21px;
        min-height: 185px;
        border-radius: 24px;
    }

    .notifications-hero-art {
        width: 110px;
        right: 11px;
    }

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

    .notification-side {
        order: -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .notifications-wrap {
        width: calc(100% - 20px);
    }

    .notifications-hero {
        min-height: auto;
        padding: 24px 20px;
    }

    .notifications-hero-art {
        opacity: .12;
        right: -8px;
        width: 125px;
    }

    .notifications-hero h1 {
        letter-spacing: -1.4px;
        position: relative;
        z-index: 1;
    }

    .notifications-hero p,
    .notifications-eyebrow,
    .hero-counts {
        position: relative;
        z-index: 1;
    }

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

    .inbox-toolbar {
        align-items: flex-start;
        padding: 15px;
    }

    .read-all-btn {
        min-height: 36px;
        padding: 0 10px;
    }

    .notification-list {
        padding: 8px;
    }

    .notification-card {
        grid-template-columns:
            45px
            minmax(0,1fr)
            17px;
        gap: 10px;
        padding: 13px;
        border-radius: 16px;
    }

    .notification-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
        font-size: 21px;
    }

    .notification-body {
        font-size: 10px;
    }
}
