.snappy-notification-bell {
    display: inline-flex;
    align-items: center;
}

.snappy-notification-bell__button {
    border: 1px solid rgba(22, 22, 63, 0.16);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(22, 22, 63, 0.08);
}

.snappy-notification-bell__button:hover {
    background: #ffffff;
    border-color: rgba(22, 22, 63, 0.3);
}

.snappy-notification-bell__badge .mud-badge {
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    font-size: 0.68rem;
    font-weight: 800;
}

.snappy-notifications-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.snappy-notifications-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 2px 16px;
    border-bottom: 1px solid rgba(22, 22, 63, 0.1);
}

.snappy-notifications-panel__header p {
    margin: 0 0 4px;
    color: #ff2f7d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.snappy-notifications-panel__header strong {
    color: #10142b;
    font-size: 1.2rem;
    font-weight: 800;
}

.snappy-notifications-panel__loading,
.snappy-notifications-panel__empty {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #66728a;
    text-align: center;
}

.snappy-notifications-panel__empty .mud-icon-root {
    width: 54px;
    height: 54px;
    padding: 13px;
    color: #16163f;
    border: 1px solid rgba(22, 22, 63, 0.12);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
    box-shadow: 0 18px 38px rgba(22, 22, 63, 0.12);
}

.snappy-notifications-panel__empty strong {
    color: #10142b;
    font-size: 1.1rem;
}

.snappy-notifications-panel__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snappy-notification-item {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding: 14px;
    border: 1px solid rgba(22, 22, 63, 0.1);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(22, 22, 63, 0.06);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.snappy-notification-item:hover {
    border-color: rgba(22, 22, 63, 0.24);
    box-shadow: 0 16px 32px rgba(22, 22, 63, 0.12);
    transform: translateY(-1px);
}

.snappy-notification-item--unread {
    border-color: rgba(255, 47, 125, 0.28);
    background: linear-gradient(90deg, rgba(255, 47, 125, 0.07) 0%, #ffffff 42%);
}

.snappy-notification-item__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #16163f;
    background: #eef3ff;
}

.snappy-notification-item__icon--success {
    color: #008f5d;
    background: rgba(10, 207, 134, 0.13);
}

.snappy-notification-item__icon--warning {
    color: #ab6900;
    background: rgba(247, 157, 0, 0.15);
}

.snappy-notification-item__icon--error {
    color: #c82f14;
    background: rgba(245, 64, 24, 0.13);
}

.snappy-notification-item__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.snappy-notification-item__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.snappy-notification-item__topline strong {
    color: #10142b;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.snappy-notification-item__topline small {
    flex: 0 0 auto;
    color: #7a8498;
    font-size: 0.76rem;
    line-height: 1.35;
}

.snappy-notification-item__message {
    color: #5f6b82;
    font-size: 0.9rem;
    line-height: 1.4;
}

.snappy-notification-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #ff2f7d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html[data-theme="dark"] .snappy-notification-bell__button,
html[data-theme="dark"] .snappy-notification-item {
    background: #1c2034;
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .snappy-notifications-panel__header strong,
html[data-theme="dark"] .snappy-notifications-panel__empty strong,
html[data-theme="dark"] .snappy-notification-item__topline strong {
    color: #f6f7fb;
}

html[data-theme="dark"] .snappy-notification-item__message,
html[data-theme="dark"] .snappy-notification-item__topline small,
html[data-theme="dark"] .snappy-notifications-panel__loading,
html[data-theme="dark"] .snappy-notifications-panel__empty {
    color: #aeb8cc;
}

html[data-theme="dark"] .snappy-notification-item--unread {
    background: linear-gradient(90deg, rgba(255, 47, 125, 0.18) 0%, #1c2034 46%);
}
