/* PolicyCON notifications: dropdown and full-page presentation only. */

.pc-notification-menu {
    position: relative;
}

.pc-notification-toggle {
    padding: 0;
}

.pc-notification-toggle::after {
    display: none;
}

.pc-notification-badge {
    display: block;
}

.pc-notification-dropdown {
    width: min(465px, calc(100vw - 24px));
    margin-top: 16px !important;
    padding: 14px 24px 0;
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(17, 24, 39, 0.12);
    color: #0d0d0d;
    overflow: hidden;
}

.pc-notification-dropdown-title {
    padding: 0 8px 8px;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
}

.pc-notification-dropdown-item {
    display: flex;
    gap: 17px;
    padding: 14px 4px;
    border-bottom: 1px solid #dedede;
    color: #111;
    text-decoration: none;
}

.pc-notification-dropdown-item:hover {
    color: #111;
    text-decoration: none;
    background: #fbfbfb;
}

.pc-notification-icon,
.pc-notification-row-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7f9fc;
    color: #000;
    font-size: 1.15rem;
}

.pc-notification-copy,
.pc-notification-row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pc-notification-item-title {
    margin: 1px 0 3px;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.pc-notification-item-body {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #414042;
    font-size: 0.78rem;
    line-height: 1.65;
}

.pc-notification-read-more,
.pc-notification-row-more {
    color: #ef3340;
    font-size: 0.78rem;
    line-height: 1.6;
}

.pc-notification-dropdown-item.pc-is-unread .pc-notification-item-title {
    font-weight: 700;
}

.pc-notification-dropdown-empty {
    min-height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6b7280;
    font-size: 0.9rem;
}

.pc-notification-dropdown-empty i {
    font-size: 2rem;
    color: #111;
}

.pc-notification-dropdown-footer {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 7px;
}

.pc-notification-dropdown-footer a {
    color: #111;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
}

.pc-notification-dropdown-footer a:hover {
    color: #d2232a;
}

.pc-notification-mark-all {
    padding: 0;
    border: 0;
    background: transparent;
    color: #414042;
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.pc-notification-mark-all:hover {
    color: #d2232a;
}

.pc-notification-entry.pc-is-processing {
    pointer-events: none;
    opacity: 0.55;
}

.pc-notifications-page {
    min-height: calc(100vh - 80px);
    padding: 12px 48px 64px;
    background: #fff;
    color: #0d0d0d;
}

.pc-notifications-container {
    width: min(100%, 930px);
}

.pc-notifications-heading {
    margin: 0 0 36px;
    font-size: 1.55rem;
    line-height: 1.4;
    font-weight: 700;
}

.pc-notifications-list {
    padding-left: 44px;
}

.pc-notification-row {
    min-height: 120px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 27px 0 24px;
    border-bottom: 1px solid #d9d9d9;
    color: #111;
    text-decoration: none;
}

.pc-notification-row:hover {
    color: #111;
    text-decoration: none;
    background: #fcfcfc;
}

.pc-notification-row-title {
    margin: 1px 0 3px;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.pc-notification-row.pc-is-unread .pc-notification-row-title {
    font-weight: 700;
}

.pc-notification-row-body {
    color: #242424;
    font-size: 0.78rem;
    line-height: 1.65;
}

.pc-notification-row-more {
    margin-left: 4px;
}

.pc-notifications-more-wrap {
    display: flex;
    justify-content: center;
    padding: 60px 0 8px;
}

.pc-notifications-more {
    min-width: 122px;
    height: 45px;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.pc-notifications-more:hover {
    border-color: #d2232a;
    color: #d2232a;
}

.pc-notifications-empty {
    min-height: calc(100vh - 250px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pc-notifications-empty-icon {
    margin-bottom: 24px;
    color: #000;
    font-size: 4rem;
}

.pc-notifications-empty h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.pc-notifications-empty p {
    margin: 0;
    color: #222;
    font-size: 0.78rem;
}

@media (max-width: 767px) {
    .pc-notification-dropdown {
        position: fixed !important;
        top: 68px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto;
        transform: none !important;
        margin-top: 0 !important;
        padding-right: 16px;
        padding-left: 16px;
        border-radius: 20px;
    }

    .pc-notifications-page {
        padding: 24px 18px 48px;
    }

    .pc-notifications-heading {
        margin-bottom: 18px;
    }

    .pc-notifications-list {
        padding-left: 0;
    }

    .pc-notification-row {
        min-height: 0;
        gap: 12px;
        padding: 20px 0;
    }

    .pc-notification-icon,
    .pc-notification-row-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

html[data-pc-theme="dark"] .pc-shell .pc-notifications-page { background: #191f2a; color: #edf0f5; }
html[data-pc-theme="dark"] .pc-shell .pc-notification-row { color: #edf0f5; border-color: #3a4556; }
html[data-pc-theme="dark"] .pc-shell .pc-notification-row:hover { background: #232c3a; }
html[data-pc-theme="dark"] .pc-shell .pc-notification-row-body { color: #adb7c6; }
html[data-pc-theme="dark"] .pc-shell .pc-notification-row-more { color: #ff939a; }
html[data-pc-theme="dark"] .pc-shell :is(.pc-notification-row-icon, .pc-notifications-more) { background: #232c3a; color: #edf0f5; border-color: #526075; }
html[data-pc-theme="dark"] .pc-shell .pc-notifications-empty-icon { color: #adb7c6; }
html[data-pc-theme="dark"] .pc-shell .pc-notifications-more:hover { background: #303c4e; }
