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

.br-notification-menu .br-notification-button {
    border: 1px solid var(--br-border);
    background: #fff;
}

.br-notification-dropdown {
    width: min(390px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 61, 48, 0.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(21, 63, 50, 0.18);
}

.br-notification-dropdown-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(18, 61, 48, 0.09);
}

.br-notification-dropdown-heading > div {
    min-width: 0;
}

.br-notification-dropdown-heading span:first-child {
    display: block;
    margin-bottom: 2px;
    color: #33725f;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.br-notification-dropdown-heading strong {
    display: block;
    color: #0e2c24;
    font-size: 1rem;
    line-height: 1.2;
}

.br-notification-dropdown-heading .br-notification-dropdown-count {
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf5f1;
    color: #285f4f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
}

.br-notification-dropdown-list {
    max-height: 390px;
    overflow-y: auto;
}

.br-notification-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(18, 61, 48, 0.07);
    transition: background-color 0.15s ease;
}

.br-notification-dropdown-item:hover,
.br-notification-dropdown-item:focus-visible {
    background: #f6faf8;
    color: inherit;
}

.br-notification-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #edf5f1;
    color: #176149;
}

.br-notification-dropdown-copy {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.br-notification-dropdown-copy strong,
.br-notification-dropdown-copy > span,
.br-notification-dropdown-copy time {
    display: block;
}

.br-notification-dropdown-copy strong {
    margin-bottom: 3px;
    color: #102f27;
    font-size: 0.84rem;
    line-height: 1.25;
}

.br-notification-dropdown-copy > span {
    display: -webkit-box;
    overflow: hidden;
    color: #60736c;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.br-notification-dropdown-copy time {
    margin-top: 5px;
    color: #8a9a94;
    font-size: 0.68rem;
    font-weight: 700;
}

.br-notification-dropdown-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 28px 18px;
    text-align: center;
}

.br-notification-dropdown-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #edf5f1;
    color: #176149;
}

.br-notification-dropdown-empty strong {
    color: #102f27;
    font-size: 0.86rem;
}

.br-notification-dropdown-empty > span:last-child {
    margin-top: 3px;
    color: #75857f;
    font-size: 0.74rem;
}

.br-notification-dropdown-footer {
    padding: 7px 0;
    background: #fbfcfb;
}

.br-notification-dropdown-form {
    margin: 0;
}

.br-notification-dropdown-footer-button,
.br-notification-dropdown-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 8px 16px;
    border: 0;
    background: transparent;
    color: #49645a;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
}

.br-notification-dropdown-footer-button:hover,
.br-notification-dropdown-footer-button:focus-visible,
.br-notification-dropdown-footer-link:hover,
.br-notification-dropdown-footer-link:focus-visible {
    background: #f1f7f4;
    color: #174f3e;
}

@media (max-width: 575.98px) {
    .br-notification-dropdown {
        width: min(350px, calc(100vw - 16px));
    }

    .br-mobile-account-slot .br-notification-dropdown {
        position: fixed !important;
        top: 72px !important;
        right: 8px !important;
        left: auto !important;
        transform: none !important;
    }
}
