

.pms-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.pms-primary-button {
    height: 40px;
    padding: 0 20px !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-transform: none !important;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA) !important;
    box-shadow: 0 10px 24px rgba(139, 92, 246, .28);
    white-space: nowrap;
}

    .pms-primary-button.mud-disabled {
        opacity: .45;
        box-shadow: none;
    }

    .pms-primary-button:hover {
        box-shadow: 0 14px 30px rgba(139, 92, 246, .36);
    }

.pms-secondary-button {
    height: 40px;
    padding: 0 16px !important;
    border-radius: 12px !important;
    color: #7C3AED !important;
    font-weight: 700 !important;
    text-transform: none !important;
    background: rgba(139, 92, 246, .08) !important;
    white-space: nowrap;
}

    .pms-secondary-button:hover {
        background: rgba(139, 92, 246, .14) !important;
    }

.notifications-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.notifications-filter-toggle {
    border-radius: 999px !important;
    overflow: hidden;
    border-color: rgba(139, 92, 246, .24) !important;
    background: var(--mud-palette-surface);
}

    .notifications-filter-toggle .mud-toggle-item {
        padding: 0 18px !important;
        min-height: 40px;
        font-weight: 700 !important;
        text-transform: none !important;
        color: var(--mud-palette-text-secondary) !important;
        transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    }

    .notifications-filter-toggle .mud-toggle-item-delimiter {
        border-color: rgba(139, 92, 246, .24) !important;
    }

    .notifications-filter-toggle .mud-toggle-item-selected {
        background: linear-gradient(135deg, #8B5CF6, #A78BFA) !important;
        color: #FFFFFF !important;
        box-shadow: 0 10px 24px rgba(139, 92, 246, .28);
    }

.notifications-list-card {
    border-radius: 18px;
    padding: 6px;
    margin-bottom: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.notifications-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 16px;
    color: var(--mud-palette-text-secondary);
}

.notifications-empty-icon {
    color: var(--mud-palette-text-secondary);
    opacity: .5;
}

.notifications-list-card .mud-table-row.notifications-row-unread {
    background: rgba(139, 92, 246, .055);
}

.notifications-cell-icon {
    width: 52px;
}

.notifications-cell-body {
    cursor: pointer;
    min-width: 220px;
}

.notifications-cell-time {
    cursor: pointer;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.notifications-cell-action {
    width: 56px;
    text-align: right;
}

.notifications-row-body-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notifications-row-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: #7C3AED;
}

.notifications-row-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C3AED;
    background: rgba(139, 92, 246, .10);
    border: 1px solid rgba(139, 92, 246, .16);
}

.notifications-row-body {
    flex: 1;
    min-width: 0;
}

.notifications-row-title {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.notifications-row-message {
    color: var(--mud-palette-text-secondary);
}

.notifications-row-mark-read {
    color: #7C3AED !important;
    background: rgba(139, 92, 246, .08) !important;
}

    .notifications-row-mark-read:hover {
        background: rgba(139, 92, 246, .16) !important;
    }

@media (max-width: 600px) {
    .pms-page-header {
        padding: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .pms-page-header-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .pms-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .notifications-toolbar-actions {
        justify-content: space-between;
    }

    .notifications-cell-time {
        display: none;
    }
}
