[data-platform-notifications] [data-notification-badge][hidden] {
    display: none !important;
}

.platform-notification-dropdown {
    width: min(430px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(28, 39, 60, 0.18);
}

.platform-notification-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #102f49 0%, #096b67 100%);
    color: #fff;
}

.platform-notification-dropdown__header span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.platform-notification-dropdown__header h6 {
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.platform-notification-dropdown__header button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s ease;
}

.platform-notification-dropdown__header button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.platform-notification-dropdown__header button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.platform-notification-dropdown__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid #edf0f5;
    background: #f8fafc;
    color: #748198;
    font-size: 11px;
}

.platform-notification-dropdown__summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.platform-notification-dropdown__summary strong {
    color: #344054;
    font-weight: 700;
}

.platform-notification-dropdown__list {
    max-height: 330px;
    overflow-y: auto;
    background: #fff;
}

.platform-notification-dropdown__item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f2f6;
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.platform-notification-dropdown__item::before {
    position: absolute;
    top: 20px;
    left: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #635bff;
    content: '';
}

.platform-notification-dropdown__item:hover {
    background: #f8f8ff;
}

.platform-notification-dropdown__visual {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: color-mix(in srgb, var(--notification-accent) 12%, white);
    color: var(--notification-accent);
    font-size: 22px;
}

.platform-notification-dropdown__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-notification-dropdown__copy {
    display: block;
    min-width: 0;
}

.platform-notification-dropdown__copy strong,
.platform-notification-dropdown__copy small,
.platform-notification-dropdown__copy time {
    display: block;
}

.platform-notification-dropdown__copy strong {
    overflow: hidden;
    margin-bottom: 3px;
    color: #273244;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-notification-dropdown__copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #6f7b90;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.platform-notification-dropdown__copy time {
    margin-top: 5px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 600;
}

.platform-notification-dropdown__item > .ti-chevron-right {
    color: #b0b8c6;
    font-size: 16px;
}

.platform-notification-dropdown__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-top: 1px solid #edf0f5;
    background: #fff;
    color: #5048e5;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.platform-notification-dropdown__footer:hover {
    background: #f8f8ff;
    color: #3730b8;
}

.platform-notification-dropdown__loading,
.platform-notification-dropdown__state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 24px;
    color: #7b879b;
    font-size: 12px;
}

.platform-notification-dropdown__loading i {
    animation: platform-notification-spin 0.9s linear infinite;
}

.platform-notification-dropdown__state {
    flex-direction: column;
    text-align: center;
}

.platform-notification-dropdown__state > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #eefcf7;
    color: #0ca678;
    font-size: 22px;
}

.platform-notification-dropdown__state div strong,
.platform-notification-dropdown__state div small {
    display: block;
}

.platform-notification-dropdown__state div strong {
    color: #344054;
    font-size: 13px;
}

.platform-notification-dropdown__state div small {
    max-width: 260px;
    margin-top: 4px;
    color: #8b95a7;
    font-size: 11px;
    line-height: 1.5;
}

.platform-notification-dropdown__state.is-error > span {
    background: #fff1f2;
    color: #e5484d;
}

@keyframes platform-notification-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 575.98px) {
    .platform-notification-dropdown {
        position: fixed !important;
        top: 68px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto;
        transform: none !important;
    }
}
